Ignore /dev/.static/dev for /etc/mtab in live-mode 0.7.27
authorMichael Prokop <mika@grml.org>
Sat, 3 Nov 2007 16:22:43 +0000 (17:22 +0100)
committerMichael Prokop <mika@grml.org>
Sat, 3 Nov 2007 16:22:43 +0000 (17:22 +0100)
debian/changelog
grml-autoconfig

index a96c2fc..e9b2e12 100644 (file)
@@ -1,3 +1,9 @@
+grml-autoconfig (0.7.27) unstable; urgency=low
+
+  * Ignore /dev/.static/dev for /etc/mtab in live-mode.
+
+ -- Michael Prokop <mika@grml.org>  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
index a422696..8b63ea1 100755 (executable)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # 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