2002-03-09 15:58:58 -05:00
|
|
|
@comment stop service at deinstall time
|
|
|
|
@unexec [ -n "$BATCH" ] || ([ ! -d %D/etc/webmin ] || [ ! -x %D/etc/rc.d/webmin.sh ] || %D/etc/rc.d/webmin.sh stop >/dev/null )
|
2000-11-01 08:09:35 -05:00
|
|
|
etc/rc.d/webmin.sh
|
2001-06-06 07:48:57 -04:00
|
|
|
@comment Insert PLIST.lib-webmin here
|
|
|
|
@comment -=[ begin PLIST.lib-webmin ]=-
|
|
|
|
@comment -=[ end PLIST.lib-webmin ]=-
|
|
|
|
@comment upgrade configuration if etc/webmin exists
|
|
|
|
@exec [ ! -d %D/etc/webmin ] || echo | nostart=Y %D/lib/webmin/setup.sh
|
|
|
|
@comment run interactive setup if not in BATCH mode and no configuration exists
|
|
|
|
@exec [ -n "$BATCH" ] || ([ -d %D/etc/webmin ] || nostart=Y %D/lib/webmin/setup.sh)
|
2002-02-08 05:05:11 -05:00
|
|
|
@comment restart service if package is being upgraded (the upgrade procedure stopped it)
|
|
|
|
@exec [ -n "$BATCH" ] || ([ ! -d %D/etc/webmin ] || [ ! -x %D/etc/rc.d/webmin.sh ] || %D/etc/rc.d/webmin.sh start >/dev/null )
|