diff options
author | Koen Kooi <koen@openembedded.org> | 2007-04-01 07:48:15 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-04-01 07:48:15 +0000 |
commit | 7ad28a62e2fb024ce6a94fa3a6ac0f219c1558dd (patch) | |
tree | 35d90856275ec575369dfa857bf08f3bd4f1f1db /packages/initscripts/initscripts-1.0/checkroot.sh | |
parent | e9f65c13e161ebc2e51b20a65cefb2c741c4da92 (diff) | |
download | openembedded-7ad28a62e2fb024ce6a94fa3a6ac0f219c1558dd.tar.gz |
initscripts: fix checkroot and remove angstrom specific checkroot
Diffstat (limited to 'packages/initscripts/initscripts-1.0/checkroot.sh')
-rwxr-xr-x | packages/initscripts/initscripts-1.0/checkroot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/initscripts/initscripts-1.0/checkroot.sh b/packages/initscripts/initscripts-1.0/checkroot.sh index 8a02aa7b58..f3b8a0cd45 100755 --- a/packages/initscripts/initscripts-1.0/checkroot.sh +++ b/packages/initscripts/initscripts-1.0/checkroot.sh @@ -193,7 +193,7 @@ ROOTFSDEV="/dev/root" if ! grep -q "^$ROOTFSDEV\w" /proc/mounts; then ROOTFSDEV="rootfs" fi -if [ $(grep "^$ROOTFSDEV\w" /proc/mounts | awk '{print $4}') = rw ]; then +if [ x$(grep "^$ROOTFSDEV\w" /proc/mounts | awk '{print $4}') = "xrw" ]; then echo "Root filesystem already read-write, not remounting" exit 0 fi |