Browse Source

All module scripts should have a shebang

master
Philippe Seewer 15 years ago committed by Harald Hoyer
parent
commit
2e6b98c7f6
  1. 1
      modules.d/90crypt/crypt-cleanup.sh
  2. 1
      modules.d/90crypt/parse-crypt.sh
  3. 1
      modules.d/90dmsquash-live/parse-dmsquash-live.sh
  4. 1
      modules.d/90lvm/lvm-cleanup.sh
  5. 1
      modules.d/90mdraid/mdraid-cleanup.sh
  6. 1
      modules.d/95dasd/parse-dasd.sh
  7. 1
      modules.d/95dasd_mod/parse-dasd-mod.sh
  8. 1
      modules.d/95iscsi/mount-lun.sh
  9. 2
      modules.d/95zfcp/parse-zfcp.sh
  10. 1
      modules.d/95znet/parse-ccw.sh

1
modules.d/90crypt/crypt-cleanup.sh

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#!/bin/sh
# close everything which is not busy
for i in /dev/mapper/luks-*; do
cryptsetup luksClose $i >/dev/null 2>&1

1
modules.d/90crypt/parse-crypt.sh

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#!/bin/sh
if getarg rd_NO_LUKS; then
info "rd_NO_LUKS: removing cryptoluks activation"
rm -f /etc/udev/rules.d/70-luks.rules

1
modules.d/90dmsquash-live/parse-dmsquash-live.sh

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#!/bin/sh
# live images are specified with
# root=live:backingdev


1
modules.d/90lvm/lvm-cleanup.sh

@ -1,2 +1,3 @@ @@ -1,2 +1,3 @@
#!/bin/sh
# stop everything which is not busy
lvm vgchange -a n >/dev/null 2>&1

1
modules.d/90mdraid/mdraid-cleanup.sh

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#!/bin/sh
# stop everything which is not busy
for i in /dev/md* /dev/md/*; do
[ -b $i ] || continue

1
modules.d/95dasd/parse-dasd.sh

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#!/bin/sh
for dasd_arg in $(getargs 'rd_DASD='); do
(
IFS=","

1
modules.d/95dasd_mod/parse-dasd-mod.sh

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#!/bin/sh
[ -d /etc/modprobe.d ] || mkdir /etc/modprobe.d

dasd_arg=$(getarg rd_DASD_MOD=)

1
modules.d/95iscsi/mount-lun.sh

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#!/bin/sh
if [ -z $iscsi_lun ]; then
iscsi_lun=0
fi

2
modules.d/95zfcp/parse-zfcp.sh

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@

#!/bin/sh
getarg rd_NO_ZFCPCONF && rm /etc/zfcp.conf

for zfcp_arg in $(getargs 'rd_ZFCP='); do

1
modules.d/95znet/parse-ccw.sh

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#!/bin/sh
for ccw_arg in $(getargs 'rd_CCW='); do
echo $ccw_arg >> /etc/ccw.conf
done

Loading…
Cancel
Save