diff options
Diffstat (limited to 'etc/init.d/commission')
-rwxr-xr-x | etc/init.d/commission | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/init.d/commission b/etc/init.d/commission index 5241176..c65fbaf 100755 --- a/etc/init.d/commission +++ b/etc/init.d/commission @@ -4,7 +4,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/lighttpd DAEMONNAME="lighttpd" NAME=commission -DESC="Lighttpd Web Server" +DESC="MT lighttpd Commissioning Server" OPTS="-f /etc/lighttpd-commission.conf" PIDFILE=/var/run/lighttpd-commission.pid CONF_DIR=/var/config @@ -17,6 +17,7 @@ if (($PASSWORDS == 0)) ; then # No password, so indicate commissioning mode # php-fpm-commision will be turned on as well rm -f "/run/mt-commission" + echo 'ENABLED="yes"' >"/run/mt-commission" else ENABLED="no" echo 'ENABLED="no"' >"/run/mt-commission" @@ -53,7 +54,6 @@ case "$1" in ;; reload) echo -n "Reloading $DESC: " - set -x pkill -HUP -F ${PIDFILE} "$DAEMONNAME" echo "$NAME." ;; |