# 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: Don Sep 06 23:57:14 CEST 2007 [mika]
+# Latest change: Sat Mar 22 00:42:18 CET 2008 [mika]
################################################################################
################################################################################
CONFIG_MODULES='yes' # load modules specified in /etc/grml/modules
CONFIG_MOUSE='yes' # show mouse information (expert-mode)
CONFIG_MYCONFIG='yes' # check if we want the config floppy
+CONFIG_MYPATH='yes' # provide setting additional paths via bootoption mypath
CONFIG_NETCONFIG='yes' # download configuration archive provided by bootoption netconfig=...
CONFIG_NETIPV6='yes' # check for bootparam ipv6
CONFIG_PASSWD='yes' # set password via bootparam passwd
# Authors: grml-team (grml.org), (c) Klaus Knopper <knopper@knopper.net>, (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 Feb 18 13:30:57 CET 2008 [mika]
+# Latest change: Sat Mar 22 00:41:14 CET 2008 [mika]
################################################################################
# {{{ path, variables, signals, umask, zsh
}
# }}}
+# {{{ mypath
+config_mypath(){
+if checkbootparam "mypath" ; then
+ MY_PATH="$(getbootparam 'mypath' 2>>$DEBUG)"
+ einfo "Bootparameter mypath found, adding ${MY_PATH} to /etc/grml/my_path"
+ touch /etc/grml/my_path
+ chmod 644 /etc/grml/my_path
+ echo "$MY_PATH" >> /etc/grml/my_path ; eend $?
+fi
+}
+# }}}
+
# {{{ distcc
config_distcc(){
if checkbootparam "distcc" ; then
# 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: Don Sep 06 23:57:08 CEST 2007 [mika]
+# Latest change: Sat Mar 22 00:42:16 CET 2008 [mika]
################################################################################
################################################################################
CONFIG_MODULES='yes' # load modules specified in /etc/grml/modules
CONFIG_MOUSE='yes' # show mouse information (expert-mode)
CONFIG_MYCONFIG='yes' # check if we want the config floppy
+CONFIG_MYPATH='yes' # provide setting additional paths via bootoption mypath
CONFIG_NETCONFIG='yes' # download configuration archive provided by bootoption netconfig=...
CONFIG_NETIPV6='yes' # check for bootparam ipv6
CONFIG_PASSWD='yes' # set password via bootparam passwd
+grml-autoconfig (0.8.5) unstable; urgency=low
+
+ * config_mypath(): allow setting additional $PATH via bootoption
+ mypath, usage example: "mypath=/forensic"
+
+ -- Michael Prokop <mika@grml.org> Sat, 22 Mar 2008 00:42:34 +0100
+
grml-autoconfig (0.8.4) unstable; urgency=low
* Make sure we support old directory layout (/cdrom) as
checkvalue $CONFIG_AUTOMOUNT && config_automount
+checkvalue $CONFIG_MYPATH && config_mypath
+
checkvalue $CONFIG_DISTCC && config_distcc
checkvalue $CONFIG_DISTRI && config_distri