summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2008-03-16 18:37:57 +0100
committermaximilian attems <max@stro.at>2008-03-16 18:38:57 +0100
commit3c8ba4b38085157d0c54c02ba9d3edf56aaf26c1 (patch)
tree2d56690ff39cf7e860c3e1808cd546e87beb7ead /init
parent4ad8c497de815693d06e94c77e1abd5fe5b6a2cb (diff)
downloadinitramfs-tools-3c8ba4b38085157d0c54c02ba9d3edf56aaf26c1.tar.gz
initramfs-tools-3c8ba4b38085157d0c54c02ba9d3edf56aaf26c1.zip
init: export ROOTFLAGS + ROOTFSTYPE.
be more consistent on exporting *all* relevant ROOT* variables, thanks to Sten Spans <sten@blinkenlights.nl> for pointing that out.
Diffstat (limited to 'init')
-rwxr-xr-xinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/init b/init
index 607d2c7..0ec0d00 100755
--- a/init
+++ b/init
@@ -27,9 +27,6 @@ mkdir /dev/.initramfs
export DPKG_ARCH=
. /conf/arch.conf
-# Export it for root hardcoding
-export ROOT=
-
# Bring in the main config
. /conf/initramfs.conf
for conf in conf/conf.d/*; do
@@ -41,13 +38,16 @@ done
export MODPROBE_OPTIONS="-qb"
# Export relevant variables
+export ROOT=
+export ROOTDELAY=
+export ROOTFLAGS=
+export ROOTFSTYPE=
export break=
export init=/sbin/init
export quiet=n
export readonly=y
export rootmnt=/root
export debug=
-export ROOTDELAY=
export panic=
export blacklist=