]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postinst-init-norestart-invoke
be1751c8fae1f3727b0b0ed5c20b72708527098a
[debhelper.git] / autoscripts / postinst-init-norestart-invoke
1 if [ -x "/etc/init.d/#SCRIPT#" ]; then
2         update-rc.d #SCRIPT# #INITPARMS# >/dev/null
3         if [ "$1" = "configure" ]; then
4                 if [ -z "$2" ] || [ "$2" = "<unknown>" ]; then
5                         invoke-rc.d #SCRIPT# start
6                 fi
7         fi
8 fi