Set bash shebang on scripts
Any shell scripts that have been modified for Unraid should have the correct `#!/bin/bash` shebang to aid with linting.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Intialize libvirt config storage
|
||||
# Invoked by emhttp after mounting libvirt loopback but before starting libvirt.
|
||||
|
||||
|
@@ -1,8 +1,10 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# /etc/rc.d/rc.inet1
|
||||
# This script is used to bring up the various network interfaces.
|
||||
#
|
||||
# @(#)/etc/rc.d/rc.inet1 10.2 Sun Jul 24 12:45:56 PDT 2005 (pjv)
|
||||
#
|
||||
# LimeTech - Modified for Unraid OS
|
||||
|
||||
# Adapted by Bergware for use in unRAID - April 2016
|
||||
# - improved interface configuration
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# rc.inet2 This shell script boots up the entire network system.
|
||||
# Note, that when this script is used to also fire
|
||||
@@ -11,7 +11,8 @@
|
||||
#
|
||||
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
|
||||
# Modified for Slackware by Patrick Volkerding <volkerdi@slackware.com>
|
||||
|
||||
#
|
||||
# LimeTech - Modified for Unraid OS
|
||||
|
||||
# At this point, we are (almost) ready to talk to The World...
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
# Used by nfsd, ntpd, rpc, samba, nginx, sshd, avahidaemon, show_interfaces
|
||||
#
|
||||
# bergware - updated for Unraid, June 2023
|
||||
# shellcheck shell=bash
|
||||
|
||||
WIREGUARD="/etc/wireguard"
|
||||
NETWORK_INI="/var/local/emhttp/network.ini"
|
||||
|
@@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# /etc/rc.d/rc.local_shutdown: Local system shutdown script.
|
||||
#
|
||||
# LimeTech - Modified for Unraid OS
|
||||
|
||||
# Beep the motherboard speaker
|
||||
beep -r 2
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Startup script for mcelog
|
||||
#
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Start/stop/restart the NFS server.
|
||||
#
|
||||
# This is an init script for the knfsd NFS daemons.
|
||||
@@ -7,6 +7,8 @@
|
||||
#
|
||||
# Written for Slackware Linux by Patrick J. Volkerding <volkerdi@slackware.com>.
|
||||
#
|
||||
# LimeTech - Modified for Unraid OS
|
||||
#
|
||||
# bergware - added interface bind functionality
|
||||
|
||||
CALLER="nfs"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Start/stop/restart ntpd.
|
||||
|
||||
# limetech - modified to initialize ntp.conf file from config
|
||||
|
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# LimeTech - Modified for Unraid OS
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: php-fpm
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# rc.rpc: start/stop/restart RPC daemons needed to use NFS.
|
||||
#
|
||||
# You must run these daemons in order to mount NFS partitions
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# /etc/rc.d/rc.samba
|
||||
#
|
||||
|
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# /etc/rc.serial
|
||||
# Initializes the serial ports on your system
|
||||
@@ -15,6 +16,7 @@
|
||||
# using the multiport feature; it doesn't save the multiport configuration
|
||||
# (for now). Autosave also doesn't work for the hayes devices.
|
||||
#
|
||||
# LimeTech - Modified for Unraid OS
|
||||
|
||||
RCLOCKFILE=/var/lock/subsys/serial
|
||||
DIRS="/lib/modules/`uname -r`/misc /lib/modules /usr/lib/modules ."
|
||||
|
@@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Start/stop/restart the secure shell server:
|
||||
#
|
||||
# LimeTech - Modified for Unraid OS
|
||||
# bergware - added interface bind functionality
|
||||
|
||||
CALLER="ssh"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# This is a script to initialize udev, which populates the /dev
|
||||
# directory with device nodes, scans for devices, loads the
|
||||
# appropriate kernel modules, and configures the devices.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Copyright 2005-2023, Lime Technology
|
||||
# Copyright 2012-2023, Bergware International.
|
||||
#
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#Copyright 2005-2021, Lime Technology
|
||||
#License: GPLv2 only
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# limetech - wrapper for Andre Ritchter's vfio-bind script:
|
||||
# https://github.com/andre-richter/vfio-pci-bind/blob/master/vfio-pci-bind.sh
|
||||
# additional changes by ljm42
|
||||
|
Reference in New Issue
Block a user