From c98f860009e05b4d3f10b914ade3a5fad1df6b24 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 16 Mar 2008 10:55:51 +0100 Subject: Fix various coding style issues --- hooks/modload | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hooks/modload') diff --git a/hooks/modload b/hooks/modload index 41361c1..8bb9d1d 100644 --- a/hooks/modload +++ b/hooks/modload @@ -19,13 +19,13 @@ run_hook () for d in /sys/bus/scsi/devices/*; do if [ -e "${d}/type" ]; then read m < "${d}/type" - case "$m" in + case "${m}" in 0) /sbin/modprobe -q sd_mod 2>&1 >/dev/null ;; # this below is take from the Arch udev rules 1) read vendor < "${d}/vendor" if [ "${vendor}" = "Onstream" ]; then read model < "${d}/model" - case "$model" in + case "${model}" in ADR*) /sbin/modprobe -q st >/dev/null 2>&1;; *) /sbin/modprobe -q osst >/dev/null 2>&1;; esac -- cgit v1.2.3-24-g4f1b