summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/ubuntu/functions-default
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-02-28 17:18:39 +0100
committerDirk von Suchodoletz2010-02-28 17:18:39 +0100
commit907d18debbfd0b49a8a57683b602bdd66ffe8eb3 (patch)
tree7302ce9bcd9db3d2a1d50e9ef150a7af2808e00e /initramfs/distro-specs/ubuntu/functions-default
parentCreate a needed directory ... (diff)
downloadcore-907d18debbfd0b49a8a57683b602bdd66ffe8eb3.tar.gz
core-907d18debbfd0b49a8a57683b602bdd66ffe8eb3.tar.xz
core-907d18debbfd0b49a8a57683b602bdd66ffe8eb3.zip
Add slx binary path (var/opt/openslx/bin), fix console-kit-daemon issue
...
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r--initramfs/distro-specs/ubuntu/functions-default6
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