fix service.cgi hangs if the initscript of an addon dosn't close output

improved sanedloop and sane initscript


git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1251 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
arne_f
2008-03-05 17:08:22 +00:00
parent 7f27bd5d56
commit 08efdb4f26
3 changed files with 7 additions and 10 deletions

View File

@@ -2,7 +2,4 @@
#
# saned is intended for use with (x)inet.d so we have to recall it in a loop
#
while true;
do
/usr/sbin/saned -s0;
done;
(while true; do /usr/sbin/saned -s0; done) &