From: Harald Hoyer Date: Thu, 28 Oct 2010 16:09:45 +0000 (+0200) Subject: base/init: s/RDTIMESTAMP/RD_TIMESTAMP/g X-Git-Tag: 008~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=577b1fc833c0fc3b201793df7fa592b61b6f8fc9;p=thirdparty%2Fdracut.git base/init: s/RDTIMESTAMP/RD_TIMESTAMP/g systemd will clear all RD_* env for its children --- diff --git a/modules.d/99base/init b/modules.d/99base/init index afda23271..63d17abc2 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -78,7 +78,7 @@ mknod -m 0666 /dev/null c 1 3 mount -t proc /proc /proc >/dev/null 2>&1 mount -t sysfs /sys /sys >/dev/null 2>&1 -read RDTIMESTAMP _tmp < /proc/uptime +read RD_TIMESTAMP _tmp < /proc/uptime unset _tmp if [ ! -c /dev/ptmx ]; then @@ -322,9 +322,9 @@ if getargbool 0 rd.copystate -y rdcopystate; then fi if getargbool 1 rd.timestamp; then - export RDTIMESTAMP + export RD_TIMESTAMP else - unset RDTIMESTAMP + unset RD_TIMESTAMP fi info "Switching root"