aboutsummaryrefslogtreecommitdiff
path: root/init.d/swclock.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-12-21 14:51:11 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-12-29 22:57:31 -0600
commit3470eda3f5cea437a6de132b1ead3f27effd3902 (patch)
treed360366f33bad25da13ff204c5ade7ce29098255 /init.d/swclock.in
parentc096ad63caba72684010f446ecee87751da78e65 (diff)
Rename runscript to openrc-run
This was requested by Debian, because the minicom software, which is available on Debian and other distros, has a binary named runscript. We are keeping a backward compatibility symlink for now, but this allows Debian or any other distro to safely remove the symlink. X-Gentoo-Bug: 494220 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=494220
Diffstat (limited to 'init.d/swclock.in')
-rw-r--r--init.d/swclock.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/swclock.in b/init.d/swclock.in
index 465f76cf..b74d49a1 100644
--- a/init.d/swclock.in
+++ b/init.d/swclock.in
@@ -1,4 +1,4 @@
-#!@SBINDIR@/runscript
+#!@SBINDIR@/openrc-run
# Copyright (c) 2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
@@ -17,7 +17,7 @@ start()
{
ebegin "Setting the local clock based on last shutdown time"
if ! swclock 2> /dev/null; then
- swclock --warn @SBINDIR@/runscript
+ swclock --warn @SBINDIR@/openrc-run
fi
eend $?
}