summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-04-05 00:14:42 +0200
committerDirk von Suchodoletz2007-04-05 00:14:42 +0200
commit01fc142f21e29e51952d5ec50f15047810650c6d (patch)
tree3a6ac944c1e3c4478aa382e8ca0a22d3bfa34ce3 /initramfs/initrd-stuff/init
parentadded path /var/X11R6/bin to .desktop files for KDM start. (diff)
downloadcore-01fc142f21e29e51952d5ec50f15047810650c6d.tar.gz
core-01fc142f21e29e51952d5ec50f15047810650c6d.tar.xz
core-01fc142f21e29e51952d5ec50f15047810650c6d.zip
Writing halt script for SuSE systems from functions-*, see #111
Pass SLXVERSION string (via slxconfig, slxconf_slxver -> SLXVERSION) for better version marking ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@863 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-xinitramfs/initrd-stuff/init3
1 files changed, 2 insertions, 1 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index 8e5c4580..d68d18a8 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -39,6 +39,7 @@ export DEBUGLEVEL=0
export KERNEL="${slxconf_kernver}"
export NWMODULES="${slxconf_listnwmod}"
export DISTRO="${slxconf_distro}"
+export SLXVERSION="${slxconf_slxver}"
# do not use dnbd cache file
nodnbdcache="yes"
@@ -656,6 +657,6 @@ umount -n /proc
# unset old environment variables
unset debug date initrd ip dnbdroot nbdroot nfsroot rootfs ticks vci vga
unset BOOT_IMAGE KCMDLINE KERNEL MODPRV NWMODULES OLDPWD UDEVD_EVENT_TIMEOUT \
- UDEVD_EXPECTED_SEQNUM PATH
+ SLXVERSION UDEVD_EXPECTED_SEQNUM PATH
# new style of pivoting (switch_root or run-init in klibc)
exec /bin/switch_root -c dev/console /mnt /sbin/init || error "$init_runinit"