diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 6c6ba68..a828727 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -61,10 +61,10 @@ fi; if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.initd)" == 1 ]; then ui_print "Creating init.d..."; ui_print " "; - mount -o remount,rw -t auto /system; + mount -o rw,remount -t auto /system; mkdir /system/etc/init.d; set_perm_recursive 0 0 0755 0755 /system/etc/init.d; - mount -o remount,ro -t auto /system; + mount -o ro,remount -t auto /system; fi; ui_print "Installing kernel..."; @@ -82,10 +82,10 @@ fi; if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.modules)" == 1 ]; then ui_print " "; ui_print "Pushing modules..."; - mount -o remount,rw -t auto /system; + mount -o rw,remount -t auto /system; cp -rf /tmp/anykernel/modules/* /system/lib/modules/; set_perm_recursive 0 0 0755 0644 /system/lib/modules; - mount -o remount,ro -t auto /system; + mount -o ro,remount -t auto /system; fi; if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.cleanup)" == 1 ]; then