- SC2086: Double quote to prevent globbing and word splitting.
- Ignore SC1091: Not following: /etc/grml/lsb-functions was not specified as input (see shellcheck -x).
# License: This file is licensed under the GPL v2.
################################################################################
# License: This file is licensed under the GPL v2.
################################################################################
[ -n "$MODPROBEFILE" ] || MODPROBEFILE=/etc/modprobe.d/grml.conf
[ -n "$MODPROBEFILE" ] || MODPROBEFILE=/etc/modprobe.d/grml.conf
+# shellcheck disable=SC1091
[ -r /etc/grml/lsb-functions ] && . /etc/grml/lsb-functions
if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then
[ -r /etc/grml/lsb-functions ] && . /etc/grml/lsb-functions
if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then
fi
if [ "$(id -ru)" != "0" ] ; then
fi
if [ "$(id -ru)" != "0" ] ; then
- echo Error: become root before starting $0 >& 2
+ echo "Error: become root before starting $0" >& 2