summaryrefslogtreecommitdiff
path: root/share/hooks/0020-create-mtab-symlink.hook.chroot
blob: 0cae147b0f4a65d9cfa1ffb3d6a1c762cf42fe78 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

# Create /etc/mtab symlink

if [ ! -L /etc/mtab ]
then
	ln -s /proc/mtab /etc/mtab
fi