Braces are not needed in this case as a variable name can not begin with a 
number.
---
 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

Reply via email to