mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Dirty script to always mount FS as RW
This commit is contained in:
parent
c5889009cb
commit
f7179d5455
1 changed files with 7 additions and 0 deletions
7
openmptcprouter/files/etc/init.d/alwaysrw
Executable file
7
openmptcprouter/files/etc/init.d/alwaysrw
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=10
|
||||
|
||||
boot() {
|
||||
[ "$(mount | grep '/dev/root' | grep 'ext4' | grep '(ro')" != "" ] && mount -o remount,rw /dev/root
|
||||
}
|
Loading…
Reference in a new issue