summaryrefslogtreecommitdiffstats
path: root/src/initramfs/tpm/bin/mygetty.sh
diff options
context:
space:
mode:
authorSebastian Schmelzer2010-09-02 17:50:49 +0200
committerSebastian Schmelzer2010-09-02 17:50:49 +0200
commit416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5 (patch)
tree4715f7d742fec50931017f38fe6ff0a89d4ceccc /src/initramfs/tpm/bin/mygetty.sh
parentFix for the problem reported on the list (sed filter forgotten for the (diff)
downloadcore-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.tar.gz
core-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.tar.xz
core-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.zip
change dir structure
Diffstat (limited to 'src/initramfs/tpm/bin/mygetty.sh')
-rwxr-xr-xsrc/initramfs/tpm/bin/mygetty.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/initramfs/tpm/bin/mygetty.sh b/src/initramfs/tpm/bin/mygetty.sh
new file mode 100755
index 00000000..db344d21
--- /dev/null
+++ b/src/initramfs/tpm/bin/mygetty.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+
+if [ -f "/mnt/sbin/agetty" ] ; then
+ /mnt/sbin/agetty -n -l /bin/bash 9600 /dev/tty1
+else
+ echo "agetty-binary not found!"
+fi
+
+# /bin/bash