diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-02-09 19:54:01 -0600 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-02-09 19:54:01 -0600 |
commit | 07bec2d38626067358fc84675a1e526f69ab86b0 (patch) | |
tree | 6b9f04c4293c93ebc78e9ed9d25076ff03a0b92b /pm/sleep.d/90clock | |
parent | b58256a2505e1116be1090741472285959c58bbc (diff) |
90clock updates
Modified 90clock to pass just a filename to the locking functions, and
to get rid of an unneeded return command.
Diffstat (limited to 'pm/sleep.d/90clock')
-rwxr-xr-x | pm/sleep.d/90clock | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pm/sleep.d/90clock b/pm/sleep.d/90clock index 34df62e..4e6478e 100755 --- a/pm/sleep.d/90clock +++ b/pm/sleep.d/90clock @@ -1,7 +1,7 @@ #!/bin/sh . "${PM_FUNCTIONS}" -NTPD_LOCK="/var/run/pm-utils/pm-ntpd.lock" +NTPD_LOCK="pm-ntpd.lock" suspend_clock() { if try_lock "${NTPD_LOCK}"; then @@ -9,7 +9,6 @@ suspend_clock() { stopservice ntpd fi /sbin/hwclock --systohc >/dev/null 2>&1 0<&1 - return $? } resume_clock() { |