diff options
author | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-25 11:00:12 +0200 |
---|---|---|
committer | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-28 14:33:17 +0200 |
commit | 7a37977456afa9b11467cfb9feef450274346202 (patch) | |
tree | 6495001395a347d64caa057f6e9dab76da4a2092 /rc.sysinit | |
parent | 52299efc246f6f83aac76b39330845aa93742542 (diff) |
Fix local statements missing in ck_depends, ck_pidfile, do_unlock, kill_everything
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -137,12 +137,12 @@ if [[ -f /etc/crypttab && $CS ]] && grep -q ^[^#] /etc/crypttab; then printf "\nOpening '$1' volume:\n" $CS $4 $open "$a" "$b" < /dev/console;; /dev*) - ckdev=${3%%:*} - cka=${3#*:} - ckb=${cka#*:} - cka=${cka%:*} - ckfile=/dev/ckfile - ckdir=/dev/ckdir + local ckdev=${3%%:*} + local cka=${3#*:} + local ckb=${cka#*:} + local cka=${cka%:*} + local ckfile=/dev/ckfile + local ckdir=/dev/ckdir case ${cka} in *[!0-9]*) # Use a file on the device |