diff options
author | Nicolas Thill <nico@openwrt.org> | 2008-09-23 12:35:34 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2008-09-23 12:35:34 +0000 |
commit | 7218e6326f28abfd099030ffbdb6913569c95e94 (patch) | |
tree | 016b55bc19d837284182058bf263a190a85c23f5 /package | |
parent | c6aaa353b13c1c15588de430b76cc9143582db4d (diff) | |
download | upstream-7218e6326f28abfd099030ffbdb6913569c95e94.tar.gz upstream-7218e6326f28abfd099030ffbdb6913569c95e94.tar.bz2 upstream-7218e6326f28abfd099030ffbdb6913569c95e94.zip |
make links to statup scripts in /etc/rc.d relative
SVN-Revision: 12659
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/etc/rc.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index 6b3c213a1d..4f1a4a3a08 100755 --- a/package/base-files/files/etc/rc.common +++ b/package/base-files/files/etc/rc.common @@ -38,8 +38,8 @@ disable() { enable() { name="$(basename "${initscript}")" disable - [ "$START" ] && 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${STOP}${name##K[0-9][0-9]}" + [ "$START" ] && ln -s "../init.d/$name" "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}" + [ "$STOP" ] && ln -s "../init.d/$name" "$IPKG_INSTROOT/etc/rc.d/K${STOP}${name##K[0-9][0-9]}" } enabled() { |