[arch-projects] [initscripts] [PATCH 03/13] functions: Get rid of superfluous braces in udevd_modprobe()

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Sun Jul 3 16:31:05 EDT 2011


---
 functions |    4 ++--
 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
-- 
1.7.1



More information about the arch-projects mailing list