aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-07-02 17:48:57 +0200
committerKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-07-10 18:03:26 +0200
commitcd34f837bfe3cc4798aeb5789f7717000ccdbf60 (patch)
treeef8c35ff7a6cbbdf80cb8cb387c50b80492ad2b7 /functions
parentfee9a12c24c058adcf79051ffe0431dda0b1600d (diff)
downloadinitscripts-cd34f837bfe3cc4798aeb5789f7717000ccdbf60.tar.xz
functions: Get rid of superfluous braces in udevd_modprobe()
Braces are not needed in this case as a variable name can not begin with a number.
Diffstat (limited to 'functions')
-rw-r--r--functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions b/functions
index f82110d..71b49e3 100644
--- a/functions
+++ b/functions
@@ -305,7 +305,7 @@ udevd_modprobe() {
# This is used to determine which hooks to run.
status "Starting UDev Daemon" udevd --daemon
- run_hook "${1}_udevlaunched"
+ run_hook "$1_udevlaunched"
stat_busy "Triggering UDev uevents"
udevadm trigger --action=add --type=subsystems
@@ -319,7 +319,7 @@ udevd_modprobe() {
status "Waiting for UDev uevents to be processed" \
udevadm settle --timeout=${UDEV_TIMEOUT:-30}
- run_hook "${1}_udevsettled"
+ run_hook "$1_udevsettled"
# in case loading a module changed the display mode
calc_columns