commit abb8aab8b7b23d27d67470353ba738d96b2b61ed
parent 1633ab19ab2722c06874501efa10f157d245f72f
Author: sin <sin@2f30.org>
Date: Fri, 4 Jul 2014 01:09:23 +0100
Symlink /etc/mtab -> /proc/mounts
Some programs complain if mtab is missing.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/bin/rc.init b/fs/bin/rc.init
@@ -51,6 +51,8 @@ echo Remounting root as read-write
echo Mounting filesystems
/bin/mount -a
+ln -sf /proc/mounts /etc/mtab
+
echo "Setting hostname to $HOSTNAME"
/bin/hostname $HOSTNAME