summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-08-22 17:11:30 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-08-22 17:11:30 +0200
commit7312ca2d2d7b3f63d29686d52178c38b3f28b185 (patch)
tree82861bd5cf6372f60b733f3f35f1f3cc8dfc83c4
parent5c16b340e578c50d4d8c90fe206775581378b75d (diff)
downloadvyos-live-build-7312ca2d2d7b3f63d29686d52178c38b3f28b185.tar.gz
vyos-live-build-7312ca2d2d7b3f63d29686d52178c38b3f28b185.zip
Correcting wrong target for /etc/mtab symlink in create-mtab-symlink hook, thanks to Ben Armstrong <synrg@sanctuary.nslug.ns.ca>.
-rwxr-xr-xshare/hooks/0020-create-mtab-symlink.hook.chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hooks/0020-create-mtab-symlink.hook.chroot b/share/hooks/0020-create-mtab-symlink.hook.chroot
index 68587a5f6..5c2fa64ae 100755
--- a/share/hooks/0020-create-mtab-symlink.hook.chroot
+++ b/share/hooks/0020-create-mtab-symlink.hook.chroot
@@ -7,5 +7,5 @@ set -e
if [ ! -L /etc/mtab ]
then
rm -f /etc/mtab
- ln -s /proc/mtab /etc/mtab
+ ln -s /proc/mounts /etc/mtab
fi