diff options
author | Roy Marples <roy@marples.name> | 2009-02-12 18:12:57 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-02-12 18:12:57 +0000 |
commit | d6d2635c518b196961873a1a1a2112ac3c46bc76 (patch) | |
tree | 1acf8fecebf62eeab04fe04fb7be19f1a4b1c09c /init.d | |
parent | 6cc68e21cf83bfac927531ab989dc7381ab6797f (diff) |
root should respect inittab, #148.
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/root.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.d/root.in b/init.d/root.in index ec0466c3..8d85acf2 100644 --- a/init.d/root.in +++ b/init.d/root.in @@ -12,6 +12,10 @@ depend() start() { + case ",$(fstabinfo -o /)," in + *,ro,*) return 0;; + esac + if echo 2>/dev/null >/.test.$$; then rm -f /.test.$$ /fastboot /forcefsck return 0 |