From 71ef9c40189ff87d84c7bf354fb43038997913d1 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 4 Jun 2011 19:58:14 -0400 Subject: remove absolute paths from daemons and rc.d These are run from a context where PATH will be set, so defining absolute paths is unnecessary. --- hwclock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hwclock') diff --git a/hwclock b/hwclock index d9de9e1..117ab14 100755 --- a/hwclock +++ b/hwclock @@ -13,9 +13,9 @@ case "$1" in start) if [[ $HWCLOCK_PARAMS ]]; then status "Adjusting Hardware Clock" \ - /sbin/hwclock --adjust + hwclock --adjust stat_busy "Setting System Clock" - /sbin/hwclock --hctosys $HWCLOCK_PARAMS || stat_die + hwclock --hctosys $HWCLOCK_PARAMS || stat_die stat_done # Note: This also enables /etc/cron.hourly/adjtime add_daemon hwclock @@ -24,7 +24,7 @@ case "$1" in stop) if [[ $HWCLOCK_PARAMS ]]; then stat_busy "Saving System Clock" - /sbin/hwclock --systohc $HWCLOCK_PARAMS || stat_die + hwclock --systohc $HWCLOCK_PARAMS || stat_die stat_done fi rm_daemon hwclock -- cgit v1.2.3