blob: ec6bdbd658ec145866d78356743f06b14f7e319b (
plain)
1
2
3
4
5
6
7
8
9
|
if [ -x "/etc/init.d/#SCRIPT#" ]; then
# In case this system is running systemd, we need to ensure that all
# necessary tmpfiles (if any) are created before starting.
if [ -d /sys/fs/cgroup/systemd ] ; then
systemd-tmpfiles --create >/dev/null || true
fi
update-rc.d #SCRIPT# #INITPARMS# >/dev/null || #ERROR_HANDLER#
fi
|