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