only make mtab a symlink if it didn't exist before
OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=196
This commit is contained in:
parent
ed9c87fd0b
commit
3ce3062b7d
@ -141,8 +141,7 @@ fi
|
||||
#
|
||||
# create mtab if it does not exist
|
||||
#
|
||||
if test ! -L /etc/mtab; then
|
||||
rm -f /etc/mtab
|
||||
if test ! -e /etc/mtab; then
|
||||
ln -sf /proc/self/mounts /etc/mtab
|
||||
fi
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user