pull/174/head
IceCodeNew 2020-10-17 21:13:09 +08:00
parent bfd16b9008
commit c3fa5d1217
1 changed files with 2 additions and 0 deletions

View File

@ -33,12 +33,14 @@ curl() {
systemd_cat_config() {
if systemd-analyze --help | grep -qw 'cat-config'; then
systemd-analyze --no-pager cat-config "$@"
echo
else
echo "${aoi}~~~~~~~~~~~~~~~~"
cat "$@" "$1".d/*
echo "${aoi}~~~~~~~~~~~~~~~~"
echo "${red}warning: ${green}The systemd version on the current operating system is too low."
echo "${red}warning: ${green}Please consider to upgrade the systemd or the operating system.${reset}"
echo
fi
}