}
restart() {
+ trap '' TERM
stop
start
}
ln -s "/etc/init.d/$name" "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}"
}
+enabled() {
+ name="$(basename "${initscript}")"
+ [ -x "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}" ]
+}
+
depends() {
return 0
}
boot) boot;;
shutdown) shutdown;;
enable) enable;;
+ enabled) enabled;;
disable) disable;;
$cmds
*) help;;