disable() {
name="$(basename "${initscript}")"
- rm -f "$IPKG_INSTROOT/etc/rc.d/S??$name"
+ rm -f "$IPKG_INSTROOT"/etc/rc.d/S??$name
}
enable() {
cmds=
for cmd in $EXTRA_COMMANDS; do
- cmds="$cmd) $cmd;;"
+ cmds="${cmds:+$cmds$N}$cmd) $cmd;;"
done
eval "case \"\$action\" in
start) start;;