projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4475d4c
)
Enable usermin boot with insserv
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 25 May 2011 04:54:00 +0000
(21:54 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 25 May 2011 04:54:00 +0000
(21:54 -0700)
makedebian.pl
patch
|
blob
|
history
diff --git
a/makedebian.pl
b/makedebian.pl
index
ec63da2
..
637a97e
100755
(executable)
--- a/
makedebian.pl
+++ b/
makedebian.pl
@@
-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) : "