#22880: Coova-Chilli init script bug
-------------------------------+--------------------------------
 Reporter:  webtron            |      Owner:  developers
     Type:  defect             |     Status:  new
 Priority:  normal             |  Milestone:
Component:  packages           |    Version:  Chaos Calmer 15.05
 Keywords:  coova-chilli init  |
-------------------------------+--------------------------------
 When ever I issue /etc/init.d/chilli restart or an ifup occurs on the WAN
 Coova shuts down and doesn't restart. This is because of the "killall"
 command in the stop function of /etc/init.d/chilli. If I comment the
 killall out it works as intended. The killall command seems to kill the
 init script process causing it to stop there and not cleanup the
 /var/run/chilli* files or run the start function.
 Coova-Chilli on Openwrt 15.05.1 r49400
 stop() {
     ls /var/run/chilli*.pid 2>/dev/null && {
        kill $(cat /var/run/chilli*.pid)
        sleep 1
        **killall -9 chilli**
        rm -f /var/run/chilli*
     }
 }

--
Ticket URL: <https://dev.openwrt.org/ticket/22880>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to