From b699975d7e2d809c1c19a818d14040ba0f58fa44 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 3 Nov 2007 17:22:43 +0100 Subject: [PATCH] Ignore /dev/.static/dev for /etc/mtab in live-mode --- debian/changelog | 6 ++++++ grml-autoconfig | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a96c2fc..e9b2e12 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-autoconfig (0.7.27) unstable; urgency=low + + * Ignore /dev/.static/dev for /etc/mtab in live-mode. + + -- Michael Prokop Sat, 03 Nov 2007 17:22:19 +0100 + grml-autoconfig (0.7.26) unstable; urgency=low * Replace check for /var/run/acpid.socket with grepping diff --git a/grml-autoconfig b/grml-autoconfig index a422696..8b63ea1 100755 --- a/grml-autoconfig +++ b/grml-autoconfig @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Mon Sep 17 17:39:29 CEST 2007 [mika] +# Latest change: Sam Nov 03 17:22:09 CET 2007 [mika] ################################################################################ # http://wiki.debian.org/LSBInitScripts => @@ -71,7 +71,7 @@ fi if [ -z "$INSTALLED" -a -e /live/cow ] ; then if ! grep -q rootfs /etc/mtab ; then for i in rootfs "none /sys sysfs" proc /live/image /live/cow /lib/init/rw /dev/shm /dev/pts ; do - grep $i /proc/mounts >> /etc/mtab + grep $i /proc/mounts | grep -v /dev/.static >> /etc/mtab done fi fi -- 2.1.4