Selaa lähdekoodia

remove the symlink as well when removing the adam2 patcher

SVN-Revision: 7023
Felix Fietkau 18 vuotta sitten
vanhempi
sitoutus
edb8f76fbc
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      target/linux/ar7-2.6/base-files/default/etc/init.d/adam2

+ 1 - 2
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>&-
 }