diff options
author | bnewbold <bnewbold@robocracy.org> | 2012-12-23 20:38:17 +0100 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2012-12-23 20:38:17 +0100 |
commit | 013b7e3788f6931153d083a87f4b5e1349ebc972 (patch) | |
tree | b0ad2fd5a6ebacc0b031be35148b435674dc3e10 /code/templates/initV | |
parent | 65cf7d740536e5064b336a05d49bfbf0e23838e9 (diff) | |
download | openwrt-repro-013b7e3788f6931153d083a87f4b5e1349ebc972.tar.gz openwrt-repro-013b7e3788f6931153d083a87f4b5e1349ebc972.zip |
small tweaks
Diffstat (limited to 'code/templates/initV')
-rwxr-xr-x | code/templates/initV | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/code/templates/initV b/code/templates/initV index 4d98290..8a1ddd6 100755 --- a/code/templates/initV +++ b/code/templates/initV @@ -49,6 +49,9 @@ do_start() # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started + + # NOTE: may need to add --background here and just below if $DAEMON doesn't + # fork/detatch on it's own start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ |