From 577b1fc833c0fc3b201793df7fa592b61b6f8fc9 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 28 Oct 2010 18:09:45 +0200 Subject: [PATCH] base/init: s/RDTIMESTAMP/RD_TIMESTAMP/g systemd will clear all RD_* env for its children --- modules.d/99base/init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" -- 2.47.3