|
From: Heiko Z. <smi...@us...> - 2009-05-06 14:33:56
|
Update of /cvsroot/devil-linux/build/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15918/scripts Modified Files: webmin Log Message: fixes to webmin init script Index: webmin =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/webmin,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- webmin 6 May 2009 01:10:23 -0000 1.2 +++ webmin 6 May 2009 14:33:44 -0000 1.3 @@ -26,8 +26,13 @@ case $1 in build ) - #if [ "$CONFIG_WEBMIN" = "y" ]; then - #fi + if [ "$CONFIG_WEBMIN" = "y" ]; then + if [ ! -f devil_patch_done ]; then + bzcat $DL_DIR/src/webmin-init.patch.bz2 | patch -p1 || exit 1 + touch devil_patch_done + fi + + fi ;; install ) if [ "$CONFIG_WEBMIN" = "y" ]; then @@ -73,6 +78,11 @@ rm /etc/webmin/*cache cp -dpvR /etc/webmin $ETCDIR/etc/ || exit 1 + echo "# Start Webmin?" + echo "START_WEBMIN=no" >> $CONFIGFILE + echo >> $CONFIGFILE + echo "HELP_WEBMIN=\"Webmin is an Administation tool via a browser\"" >> $SOFTWAREHELP + fi ;; |