The main source of your problem is the first line of your init script starts with: #!/bin/ash instead of #!/bin/sh
The OpenWrt build script that process the start/stop items in /etc/init.d is using: grep '#!/bin/sh /etc/rc.common' to determine the need to create the initial rc.d links. HTH, /ted
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel