uhttpd: display errors in init script, code formatting changes, bump package version
SVN-Revision: 31572
This commit is contained in:
@@ -108,6 +108,11 @@ start_instance()
|
||||
|
||||
SERVICE_PID_FILE=/var/run/uhttpd_${cfg}.pid
|
||||
service_start $UHTTPD_BIN -f $UHTTPD_ARGS
|
||||
|
||||
# Check if daemon is running, if not then
|
||||
# re-execute in foreground to display error.
|
||||
sleep 1 && service_check $UHTTPD_BIN || \
|
||||
$UHTTPD_BIN -f $UHTTPD_ARGS
|
||||
}
|
||||
|
||||
stop_instance()
|
||||
|
||||
Reference in New Issue
Block a user