z
This commit is contained in:
8
update/scripts/is_systemd.sh
Normal file
8
update/scripts/is_systemd.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
SYSTEMDDIR=/etc/systemd/system
|
||||
if [ -d ${SYSTEMDDIR} ] && [ -e /usr/bin/systemctl ]; then
|
||||
echo "yes";
|
||||
exit 0;
|
||||
fi
|
||||
echo "no";
|
||||
exit 1;
|
||||
Reference in New Issue
Block a user