Backend: actually fix Nougat toybox mount a la 0ab42ee3ec
- sigh.. option order also matters
This commit is contained in:
1 parent
5bde2c094a
commit
8f5c3287a7
1 file changed
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user