libs/lucid: Kamikaze 8.09.1/brcm-2.4 still has the uclibc deamon() bug, work around...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 10 Jun 2009 17:48:41 +0000 (17:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 10 Jun 2009 17:48:41 +0000 (17:48 +0000)
libs/lucid/root/etc/config/lucid
libs/lucid/root/etc/init.d/lucid

index c3bd60432b77a426b8edffd94eede6e6a8eb5de0..ae6b4a072566581eac7d4fd2b48bbc7010419ff5 100644 (file)
@@ -1,7 +1,7 @@
 config lucid main
        option pollinterval 15000
        option threadlimit 25
-       option daemonize 1
+       option daemonize 0
        option debug 0
        list supports tcpserver
        list supports server
index 1b2b04ed4e1a04a8526058b07adc3b8de4bf8278..c5f992e2470ac63a1d45c3301091e0838b36104c 100755 (executable)
@@ -9,7 +9,7 @@ set -e
 
 start() {
        echo -n "Starting $DESC: $NAME"
-       lua -lluci.lucid -e 'luci.lucid.start()'
+       lua -lluci.lucid -e 'luci.lucid.start()' &
        echo "."
 }