aboutsummaryrefslogtreecommitdiff
path: root/hwclock
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-04 19:55:36 -0400
committerTom Gundersen <teg@jklm.no>2011-06-05 02:24:30 +0200
commitc6adbe7a36a7330debfaa07d4351bcd80d479214 (patch)
tree1939b750a00b1c146fbee0a712b88c280c2a6e4f /hwclock
parent0dfd69b9e8617ef15413e5022442017603be5344 (diff)
downloadinitscripts-c6adbe7a36a7330debfaa07d4351bcd80d479214.tar.xz
add PATH, strip absolute path from binaries
Since we're declaring a PATH anyways, we may as well use it. This gives us immunity against binaries moving around, as in the recent case of iproute2. A few other minor, associated, tweaks to go along with this: * any -x tests are modified to use 'type -P' to resolve the path before checking for execute permission * any pidof checks are stripped of paths as well.
Diffstat (limited to 'hwclock')
0 files changed, 0 insertions, 0 deletions