diff options
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r-- | initramfs/distro-specs/ubuntu/functions-default | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default index 4215920d..cdcf06f4 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -1,5 +1,5 @@ # Copyright (c) 2003..2006 - RZ Uni Freiburg -# Copyright (c) 2006..2009 - OpenSLX GmbH +# Copyright (c) 2006..2010 - OpenSLX GmbH # # This program/file is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -85,6 +85,10 @@ config_distro () { sed -e "3i# Script modified during SLX stage3 bootup (config_distro)" \ -e "/pre_mountall/,/post_mountall/d" \ -i /mnt/etc/init.d/mountall.sh + + # add the slx specific path (/var/opt/openslx/bin) to the PATH variable + echo -e "# stuff generated by $0 (out of InitRamFS written $date)\n\ +export PATH=\"\$PATH:/var/opt/openslx/bin\"" >>/mnt/etc/profile } # initial (boot time) runlevel scripts |