diff options
author | John Klug <john.klug@multitech.com> | 2019-12-04 14:13:30 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-12-04 14:13:30 -0600 |
commit | 76b5dfb8142e7c8afde7c3664a6dfc755bae3484 (patch) | |
tree | e2a9cbac5ec596913424022f06243af9e93fcb80 /etc/init.d | |
parent | 3422816ad067fa6156d56332c98ceeb2c3ec1996 (diff) | |
download | commissioning-76b5dfb8142e7c8afde7c3664a6dfc755bae3484.tar.gz commissioning-76b5dfb8142e7c8afde7c3664a6dfc755bae3484.tar.bz2 commissioning-76b5dfb8142e7c8afde7c3664a6dfc755bae3484.zip |
Change commissioning to commission in most cases
Diffstat (limited to 'etc/init.d')
-rwxr-xr-x | etc/init.d/commission (renamed from etc/init.d/commissioning) | 2 | ||||
-rwxr-xr-x | etc/init.d/commission-php-fpm (renamed from etc/init.d/php-fpm-commission) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/init.d/commissioning b/etc/init.d/commission index 82bda67..03bec24 100755 --- a/etc/init.d/commissioning +++ b/etc/init.d/commission @@ -3,7 +3,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/lighttpd DAEMONNAME="lighttpd" -NAME=commissioning +NAME=commission DESC="Lighttpd Web Server" OPTS="-f /etc/lighttpd-commission.conf" PIDFILE=/var/run/lighttpd-commission.pid diff --git a/etc/init.d/php-fpm-commission b/etc/init.d/commission-php-fpm index cd86ab5..95de811 100755 --- a/etc/init.d/php-fpm-commission +++ b/etc/init.d/commission-php-fpm @@ -22,7 +22,7 @@ php_fpm_PID="/var/run/${NAME}.pid" php_opts="-R --fpm-config $php_fpm_CONF --pid $php_fpm_PID" ENABLED=yes -[ -f "/etc/default/commissioning" ] && . "/etc/default/commissioning" +[ -f "/etc/default/commission" ] && . "/etc/default/commission" wait_for_pid () { try=0 @@ -55,7 +55,7 @@ wait_for_pid () { case "$1" in start) - [[ -f /etc/default/commissioning ]] && . /etc/default/commissioning + [[ -f /etc/default/commission ]] && . /etc/default/commission if [[ $ENABLED != "yes" ]]; then echo "$NAME: disabled in /etc/default" exit |