From 3ce3062b7d643498259c6d7f1b923975abaade38 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Tue, 25 Jan 2011 08:50:17 +0000 Subject: [PATCH] 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 --- aaa_base.post | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aaa_base.post b/aaa_base.post index f21fd9a..728c662 100644 --- a/aaa_base.post +++ b/aaa_base.post @@ -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 #