summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-15 12:48:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-15 12:48:50 +0000
commit59b9632ba23e003b4c616ec3b28e3e6a20b3dede (patch)
tree5df8cef2427257029a4b0e4583d1e8c807e6eef1
parentafecd8751082649dec346cd1fc087f69b59bddf8 (diff)
downloadabuild-59b9632ba23e003b4c616ec3b28e3e6a20b3dede.tar.gz
abuild-59b9632ba23e003b4c616ec3b28e3e6a20b3dede.tar.bz2
abuild-59b9632ba23e003b4c616ec3b28e3e6a20b3dede.tar.xz
abuild-59b9632ba23e003b4c616ec3b28e3e6a20b3dede.zip
initram: beep before prompting for password
-rwxr-xr-xinitramfs-init3
1 files changed, 2 insertions, 1 deletions
diff --git a/initramfs-init b/initramfs-init
index c245a3a..99ca236 100755
--- a/initramfs-init
+++ b/initramfs-init
@@ -83,7 +83,8 @@ unpack_apkovl() {
return 1
fi
local count=0
- echo ""
+ # beep
+ echo -e "\007"
while [ $count -lt 3 ]; do
openssl enc -d -$suffix -in "$ovl" | tar -C "$dest" -zx \
2>/dev/null && return 0