cleanup shebangs in sourced scripts
All of the scripts are sourced, so there is no need to have will pick up on the .sh extension.master
parent
4f0e32751f
commit
92997caf35
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/sh # for highlighting
|
|
||||||
|
|
||||||
if [ "$root" = "dhcp" ]; then
|
if [ "$root" = "dhcp" ]; then
|
||||||
if [ -n "$new_root_path" -a -z "${new_root_path%%nbd:*}" ]; then
|
if [ -n "$new_root_path" -a -z "${new_root_path%%nbd:*}" ]; then
|
||||||
root="$new_root_path"
|
root="$new_root_path"
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/dash
|
|
||||||
|
|
||||||
# It'd be nice if this could share rules with 99-block.sh, but since
|
# 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
|
# 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
|
# they are associated with a server -- we cannot use the udev add rule
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/sh # for highlighting
|
|
||||||
|
|
||||||
# If we're auto-detecting our root type from DHCP, see if this looks like
|
# 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
|
# 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
|
# that the number of colons match what we expect, and our glob didn't
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pid=$(pidof rpc.statd)
|
pid=$(pidof rpc.statd)
|
||||||
[ -n "$pid" ] && kill $pid
|
[ -n "$pid" ] && kill $pid
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# We're 90-nfs.sh to catch root=/dev/nfs
|
# We're 90-nfs.sh to catch root=/dev/nfs
|
||||||
#
|
#
|
||||||
# Preferred format:
|
# Preferred format:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/bash # for highlighting
|
|
||||||
|
|
||||||
if [ "${root%%:*}" = "block" ]; then
|
if [ "${root%%:*}" = "block" ]; then
|
||||||
(
|
(
|
||||||
printf 'KERNEL=="%s", RUN+="/bin/mount -t %s -o %s %s %s"\n' \
|
printf 'KERNEL=="%s", RUN+="/bin/mount -t %s -o %s %s %s"\n' \
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/bash # for highlighting
|
|
||||||
|
|
||||||
case "$root" in
|
case "$root" in
|
||||||
block:LABEL=*|LABEL=*)
|
block:LABEL=*|LABEL=*)
|
||||||
root="${root#block:}"
|
root="${root#block:}"
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/bash # for highlighting
|
|
||||||
|
|
||||||
root=$(getarg root=)
|
root=$(getarg root=)
|
||||||
|
|
||||||
if rflags="$(getarg rootflags=)"; then
|
if rflags="$(getarg rootflags=)"; then
|
||||||
|
|
Loading…
Reference in New Issue