Execute config_homedir() only if home-bootoption is set
authorMichael Prokop <mika@grml.org>
Fri, 9 Mar 2007 14:08:41 +0000 (15:08 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 9 Mar 2007 14:08:41 +0000 (15:08 +0100)
autoconfig.functions
debian/changelog

index f6d99b3..e0c6cc5 100755 (executable)
@@ -1287,6 +1287,7 @@ fi
 
 # {{{ Check for persistent homedir option and eventually mount /home from there, or use a loopback file.
 config_homedir(){
 
 # {{{ Check for persistent homedir option and eventually mount /home from there, or use a loopback file.
 config_homedir(){
+if checkbootparam home ; then
 HOMEDIR="$(getbootparam home)"
 MYHOMEDEVICE=""
 MYHOMEMOUNTPOINT=""
 HOMEDIR="$(getbootparam home)"
 MYHOMEDEVICE=""
 MYHOMEMOUNTPOINT=""
@@ -1360,6 +1361,7 @@ $(cat /proc/mounts)
 EOT
   fi
 fi
 EOT
   fi
 fi
+fi # checkbootparam home
 }
 # }}}
 
 }
 # }}}
 
index 0de4240..89eff8e 100644 (file)
@@ -1,3 +1,9 @@
+grml-autoconfig (0.6.16) unstable; urgency=low
+
+  * Execute config_homedir() only if home-bootoption is set.
+
+ -- Michael Prokop <mika@grml.org>  Fri,  9 Mar 2007 15:08:25 +0100
+
 grml-autoconfig (0.6.15) unstable; urgency=low
 
   * Fix startx bootoption. (Thanks for reporting, wuehlmaus.)
 grml-autoconfig (0.6.15) unstable; urgency=low
 
   * Fix startx bootoption. (Thanks for reporting, wuehlmaus.)