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

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Sat Jul 2 14:44:22 EDT 2011


---
 functions |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/functions b/functions
index 66a8670..853a6ae 100644
--- a/functions
+++ b/functions
@@ -306,7 +306,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
@@ -320,7 +320,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