diff options
author | Dirk von Suchodoletz | 2007-04-05 00:14:42 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-04-05 00:14:42 +0200 |
commit | 01fc142f21e29e51952d5ec50f15047810650c6d (patch) | |
tree | 3a6ac944c1e3c4478aa382e8ca0a22d3bfa34ce3 /initramfs/initrd-stuff/init | |
parent | added path /var/X11R6/bin to .desktop files for KDM start. (diff) | |
download | core-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-x | initramfs/initrd-stuff/init | 3 |
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" |