diff options
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" |