Fix mount-fix issue
This commit is contained in:
18
ipk-source/sdxpinn-mount-fix/root/etc/init.d/mount-fix-final
Executable file
18
ipk-source/sdxpinn-mount-fix/root/etc/init.d/mount-fix-final
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=04
|
||||
|
||||
start() {
|
||||
# mount the bind mount as rw
|
||||
/bin/mount -o remount,rw /etc/rc.d
|
||||
}
|
||||
|
||||
stop() {
|
||||
# mount the bind mount as ro
|
||||
/bin/mount -o remount,ro /etc/rc.d
|
||||
}
|
||||
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
}
|
||||
Reference in New Issue
Block a user