diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-04 19:58:14 -0400 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-06-05 02:25:32 +0200 |
commit | 71ef9c40189ff87d84c7bf354fb43038997913d1 (patch) | |
tree | daaae1c2b39ed6df222ed20c7861ef010cbf30b1 /hwclock | |
parent | c6adbe7a36a7330debfaa07d4351bcd80d479214 (diff) |
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.
Diffstat (limited to 'hwclock')
-rwxr-xr-x | hwclock | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |