summaryrefslogtreecommitdiff
path: root/src/initrd/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/initrd/common.sh')
-rw-r--r--src/initrd/common.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/initrd/common.sh b/src/initrd/common.sh
index 8f4e101..d7d7fa0 100644
--- a/src/initrd/common.sh
+++ b/src/initrd/common.sh
@@ -148,9 +148,4 @@ my_openvt()
148 /bin/openvt -c "$@" 148 /bin/openvt -c "$@"
149} 149}
150 150
151# This runs before way before NTP and on a LiveCD we have no
152# reason to trust the system clock.
153gpg2_nobatch() { GPG_TTY=$(tty) command gpg2 --ignore-time-conflict --ignore-valid-from "$@"; }
154gpg2() { gpg2_nobatch --batch "$@"; }
155
156xcp() { if [ -f "$1" -a ! -f "$2" ]; then cp "$1" "$2"; fi; } 151xcp() { if [ -f "$1" -a ! -f "$2" ]; then cp "$1" "$2"; fi; }