projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d86c4e8
)
rc.common: change enable and disable in whiterussian to use /etc/init.d instead of...
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 15 Oct 2006 21:14:18 +0000
(21:14 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 15 Oct 2006 21:14:18 +0000
(21:14 +0000)
SVN-Revision: 5130
openwrt/package/base-files/default/etc/rc.common
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/etc/rc.common
b/openwrt/package/base-files/default/etc/rc.common
index a08f5e523c622f4373763a3173cf88d1be36f1b0..c871babe7904d82b7d92783d35f63f854a480f07 100755
(executable)
--- a/
openwrt/package/base-files/default/etc/rc.common
+++ b/
openwrt/package/base-files/default/etc/rc.common
@@
-32,13
+32,13
@@
shutdown() {
disable() {
name="$(basename "${initscript}")"
- rm -f "$IPKG_INSTROOT/etc/
rc
.d/S??$name"
+ rm -f "$IPKG_INSTROOT/etc/
init
.d/S??$name"
}
enable() {
name="$(basename "${initscript}")"
disable
- ln -s "/etc/init.d/$name" "$IPKG_INSTROOT/etc/
rc
.d/S${START}${name##S[0-9][0-9]}"
+ ln -s "/etc/init.d/$name" "$IPKG_INSTROOT/etc/
init
.d/S${START}${name##S[0-9][0-9]}"
}
depends() {