From: Harald Hoyer Date: Thu, 14 Apr 2011 13:23:05 +0000 (+0200) Subject: base/init: export RD_TIMESTAMP X-Git-Tag: 011~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf512ee2e03788f8cd60b7ace84a044abf58072c;p=thirdparty%2Fdracut.git base/init: export RD_TIMESTAMP --- diff --git a/modules.d/99base/init b/modules.d/99base/init index b7c2d1b2a..f07ad4002 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -321,8 +321,6 @@ done getarg rd.break rdbreak && emergency_shell -n switch_root "Break before switch_root" - - if [ $UDEVVERSION -lt 168 ]; then # stop udev queue before killing it udevadm control --stop-exec-queue @@ -339,6 +337,7 @@ else udevadm info --cleanup-db fi +export RD_TIMESTAMP set +x # Turn off debugging for this section # Clean up the environment for i in $(export -p); do @@ -350,9 +349,6 @@ for i in $(export -p); do case $i in root|PATH|HOME|TERM|PS4|RD_*) :;; - # skip RD_ vars and export them - RD_*) - export $i;; *) unset "$i";; esac