forked from Ivasoft/openwrt
add K* scripts to be run at shutdown
SVN-Revision: 7163
This commit is contained in:
@@ -40,6 +40,7 @@ enable() {
|
||||
name="$(basename "${initscript}")"
|
||||
disable
|
||||
ln -s "/etc/init.d/$name" "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}"
|
||||
[ "$STOP" ] && ln -s "/etc/init.d/$name" "$IPKG_INSTROOT/etc/rc.d/K${START}${name##K[0-9][0-9]}"
|
||||
}
|
||||
|
||||
enabled() {
|
||||
|
||||
Reference in New Issue
Block a user