config_finddcsdir(): Use the correct device for GRMLCFG
authorMichael Prokop <mika@grml.org>
Tue, 11 Aug 2009 09:18:11 +0000 (11:18 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 11 Aug 2009 09:18:11 +0000 (11:18 +0200)
autoconfig.functions
debian/changelog

index 94efd88..fd4b121 100755 (executable)
@@ -1946,7 +1946,7 @@ else
       else
         [ -d /mnt/grml ] || mkdir /mnt/grml
         umount /mnt/grml 1>>$DEBUG 2>&1 # make sure it is not mounted
       else
         [ -d /mnt/grml ] || mkdir /mnt/grml
         umount /mnt/grml 1>>$DEBUG 2>&1 # make sure it is not mounted
-        mount -o ro -t auto $MOUNTDEVICE /mnt/grml ; RC="$?"
+        mount -o ro -t auto $DCSDEVICE  /mnt/grml ; RC="$?"
         if [[ $RC == 0 ]]; then
           einfo "Successfully mounted $DCSDEVICE to /mnt/grml (readonly)." ; eend 0
           eindent
         if [[ $RC == 0 ]]; then
           einfo "Successfully mounted $DCSDEVICE to /mnt/grml (readonly)." ; eend 0
           eindent
index 4c4a3a7..28f0b4b 100644 (file)
@@ -1,3 +1,10 @@
+grml-autoconfig (0.8.25) UNRELEASED; urgency=low
+
+  * config_finddcsdir(): Use the correct device for GRMLCFG.
+    Bugreport and path by Julian Langschädel, thanks!
+
+ -- Michael Prokop <mika@grml.org>  Tue, 11 Aug 2009 11:17:01 +0200
+
 grml-autoconfig (0.8.24) unstable; urgency=low
 
   * Check for space after bootoption 'fast' so we do not conflict
 grml-autoconfig (0.8.24) unstable; urgency=low
 
   * Check for space after bootoption 'fast' so we do not conflict