diff options
-rw-r--r-- | init.d/swclock.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/init.d/swclock.in b/init.d/swclock.in index 75f1c79f..077f258d 100644 --- a/init.d/swclock.in +++ b/init.d/swclock.in @@ -16,7 +16,9 @@ depend() start() { ebegin "Setting the local clock based on last shutdown time" - swclock --warn + if ! swclock 2> /dev/null; then + swclock --warn @PREFIX@/sbin/runscript + fi eend $? } |