summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinit-rootfs.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/init-rootfs.sh b/init-rootfs.sh
index 98979a4..a1e6f8c 100755
--- a/init-rootfs.sh
+++ b/init-rootfs.sh
@@ -28,6 +28,11 @@ do
chmod 1777 $ii
done
+for ii in usr/bin/mount usr/bin/umount
+do
+ if [ -e $ii ]; then chown root.root $ii ; chmod 4755 $ii ; fi
+done
+
#-- do all the required mknods
cd dev