]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
cleanup shebangs in sourced scripts
authorDavid Dillow <dave@thedillows.org>
Mon, 1 Jun 2009 23:17:48 +0000 (19:17 -0400)
committerDavid Dillow <dave@thedillows.org>
Mon, 1 Jun 2009 23:17:48 +0000 (19:17 -0400)
All of the scripts are sourced, so there is no need to have
will pick up on the .sh extension.

modules.d/95nbd/nbd-netroot.sh
modules.d/95nbd/parse-nbdroot.sh
modules.d/95nfs/nfs-netroot.sh
modules.d/95nfs/nfsroot-cleanup.sh
modules.d/95nfs/parse-nfsroot.sh
modules.d/95rootfs-block/block-genrules.sh
modules.d/95rootfs-block/parse-block.sh
modules.d/95rootfs-block/parse-root-opts.sh

index 74b3da8c6d07fe67a2af1e4097bb43776e4c041e..20f4f0986984ceee46490eccdfbe2765e3eb67ae 100755 (executable)
@@ -1,5 +1,3 @@
-#!/bin/sh # for highlighting
-
 if [ "$root" = "dhcp" ]; then
     if [ -n "$new_root_path" -a -z "${new_root_path%%nbd:*}" ]; then
        root="$new_root_path"
index 4bedaab1908ab487b126dda87a52d8dbcb5ff9e7..84d1c234def0e2b46d65929563a7f797b7dc5232 100755 (executable)
@@ -1,5 +1,3 @@
-#!/bin/dash
-
 # It'd be nice if this could share rules with 99-block.sh, but since
 # the kernel side adds nbd{1..16} when the module is loaded -- before
 # they are associated with a server -- we cannot use the udev add rule
index ac7216360a5b47f129dea79ec0eaa021e44fa6db..0591a31b370e0486bddc6e35833bc4057244a0e8 100755 (executable)
@@ -1,5 +1,3 @@
-#!/bin/sh # for highlighting
-
 # If we're auto-detecting our root type from DHCP, see if this looks like
 # an NFS root option. As the variety of root-path formats is large, validate
 # that the number of colons match what we expect, and our glob didn't
index b8f3a2f2ddc94c3934fdc8562283cfe06c8b8a24..4bfdd343a27a88b0ce5c247de33510a5df0bf30c 100644 (file)
@@ -1,5 +1,3 @@
-#!/bin/sh
-
 pid=$(pidof rpc.statd)
 [ -n "$pid" ] && kill $pid
 
index 5201e4bf4ed0e40a11df1cd41ed5673ef789bb90..c2ecf4e89696f420d26e811d6193d887d3d2cb5b 100755 (executable)
@@ -1,5 +1,3 @@
-#!/bin/bash
-
 # We're 90-nfs.sh to catch root=/dev/nfs
 #
 # Preferred format:
index 5c3f957606fe0b76bfb4fb4df78057c994a680bb..d6924c85a4e28e11213d7098125a56a3d6166b87 100755 (executable)
@@ -1,5 +1,3 @@
-#!/bin/bash # for highlighting
-
 if [ "${root%%:*}" = "block" ]; then
     (
     printf 'KERNEL=="%s", RUN+="/bin/mount -t %s -o %s %s %s"\n' \
index 4b6ecfaea75e7ca75a75224b52f58d1f85dcc63c..6dac7c16a8fa653cfb591a0111bbe29ec9ab2b7d 100755 (executable)
@@ -1,5 +1,3 @@
-#!/bin/bash # for highlighting
-
 case "$root" in
     block:LABEL=*|LABEL=*)
        root="${root#block:}"
index dc0ae6d57f8c80cf9525b108ccf099ca7e9bdeb1..7fc4f473a7e575b8d7eb30e2f5a109fe9be53513 100755 (executable)
@@ -1,5 +1,3 @@
-#!/bin/bash # for highlighting
-
 root=$(getarg root=)
 
 if rflags="$(getarg rootflags=)"; then