]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
base/init: s/RDTIMESTAMP/RD_TIMESTAMP/g
authorHarald Hoyer <harald@redhat.com>
Thu, 28 Oct 2010 16:09:45 +0000 (18:09 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 28 Oct 2010 16:09:45 +0000 (18:09 +0200)
systemd will clear all RD_* env for its children

modules.d/99base/init

index afda23271d3c3b559295a43146680971feea355d..63d17abc2591776d8592b69ead75e456677489a2 100755 (executable)
@@ -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"