diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-04-21 09:34:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-04-21 09:34:28 +0000 |
commit | edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22 (patch) | |
tree | e9ca54ed1798f84d3b8f3626ba64e09969c6cd68 /target/linux/ar7-2.6/base-files | |
parent | c7f299dfe5d23e2420faa5c1696ac21e43c8fbd5 (diff) | |
download | mtk-20170518-edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22.zip mtk-20170518-edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22.tar.gz mtk-20170518-edb8f76fbc2dab051fac45c6d76b0f8f6b76ad22.tar.bz2 |
remove the symlink as well when removing the adam2 patcher
SVN-Revision: 7023
Diffstat (limited to 'target/linux/ar7-2.6/base-files')
-rwxr-xr-x | target/linux/ar7-2.6/base-files/default/etc/init.d/adam2 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ar7-2.6/base-files/default/etc/init.d/adam2 b/target/linux/ar7-2.6/base-files/default/etc/init.d/adam2 index ed3e490..64c8608 100755 --- a/target/linux/ar7-2.6/base-files/default/etc/init.d/adam2 +++ b/target/linux/ar7-2.6/base-files/default/etc/init.d/adam2 @@ -9,6 +9,5 @@ start() { mtd unlock adam2 /sbin/adam2patcher /dev/mtdblock0 } - disable - rm -f /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&- + rm -f /etc/rc.d/S${START}adam2 /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&- } |