From d6d2635c518b196961873a1a1a2112ac3c46bc76 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 12 Feb 2009 18:12:57 +0000 Subject: root should respect inittab, #148. --- init.d/root.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init.d') 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 -- cgit v1.2.3