summaryrefslogtreecommitdiffstats
path: root/init_functions
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2011-01-31 22:03:43 +0100
committerThomas Bächler <thomas@archlinux.org>2011-01-31 22:03:43 +0100
commitb5fa5b45283afb697c327fcebaabf0501eeb2920 (patch)
tree33fc1ffca69a97930a758711ad03a00ba39002f6 /init_functions
parent02e263c5bcec23f9134140dcef5b6f5a4412ed2b (diff)
downloadmkinitcpio-b5fa5b45283afb697c327fcebaabf0501eeb2920.tar.gz
mkinitcpio-b5fa5b45283afb697c327fcebaabf0501eeb2920.tar.xz
poll_device: Remove -h
It seems ash follows symlinks with -b.
Diffstat (limited to 'init_functions')
-rw-r--r--init_functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/init_functions b/init_functions
index 37b9ebb..58b84b5 100644
--- a/init_functions
+++ b/init_functions
@@ -16,12 +16,12 @@ poll_device() {
fi
if [ "${udevd_running}" -eq 1 ]; then
echo "Waiting ${seconds} seconds for device ${device} ..."
- while [ ! -b "${device}" -a ! -h "${device}" -a ${seconds} -gt 0 ]; do
+ while [ ! -b "${device}" -a ${seconds} -gt 0 ]; do
sleep 1
seconds=$((${seconds}-1))
done
fi
- [ -b "${device}" -o -h "${device}" ]
+ [ -b "${device}" ]
}
launch_interactive_shell() {