Enable usermin boot with insserv
authorJamie Cameron <jcameron@webmin.com>
Wed, 25 May 2011 04:54:00 +0000 (21:54 -0700)
committerJamie Cameron <jcameron@webmin.com>
Wed, 25 May 2011 04:54:00 +0000 (21:54 -0700)
makedebian.pl

index ec63da2..637a97e 100755 (executable)
@@ -304,6 +304,9 @@ if [ "$inetd" != "1" ]; then
                /etc/init.d/$baseproduct start >/dev/null 2>&1 </dev/null
        fi
 fi
+if [ "$product" = "usermin" ]; then
+       insserv $baseproduct >/dev/null 2>&1
+fi
 cat >/etc/$baseproduct/uninstall.sh <<EOFF
 #!/bin/sh
 printf "Are you sure you want to uninstall $ucproduct? (y/n) : "