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 c3bd604..ae6b4a0 100644 (file)
@@ -1,7 +1,7 @@
 config lucid main
        option pollinterval 15000
        option threadlimit 25
 config lucid main
        option pollinterval 15000
        option threadlimit 25
-       option daemonize 1
+       option daemonize 0
        option debug 0
        list supports tcpserver
        list supports server
        option debug 0
        list supports tcpserver
        list supports server
index 1b2b04e..c5f992e 100755 (executable)
@@ -9,7 +9,7 @@ set -e
 
 start() {
        echo -n "Starting $DESC: $NAME"
 
 start() {
        echo -n "Starting $DESC: $NAME"
-       lua -lluci.lucid -e 'luci.lucid.start()'
+       lua -lluci.lucid -e 'luci.lucid.start()' &
        echo "."
 }
 
        echo "."
 }