From 907d18debbfd0b49a8a57683b602bdd66ffe8eb3 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sun, 28 Feb 2010 17:18:39 +0100 Subject: Add slx binary path (var/opt/openslx/bin), fix console-kit-daemon issue ... --- initramfs/distro-specs/ubuntu/functions-default | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'initramfs/distro-specs/ubuntu/functions-default') 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 -- cgit v1.2.3-55-g7522