summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-11-08 10:33:17 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-11-08 10:33:32 -0800
commit9614752644c90e4b7765a31f75020142b09ce03e (patch)
treec4721c762f09470e75ee997ddd28969f48b30622 /sys-power/nut/files
parentsys-block/fio: bump. (diff)
downloadgentoo-9614752644c90e4b7765a31f75020142b09ce03e.tar.gz
gentoo-9614752644c90e4b7765a31f75020142b09ce03e.tar.bz2
gentoo-9614752644c90e4b7765a31f75020142b09ce03e.zip
sys-power/nut: bump.
Package-Manager: portage-2.3.2
Diffstat (limited to 'sys-power/nut/files')
-rw-r--r--sys-power/nut/files/nut-2.2.2-init.d-upsd4
-rw-r--r--sys-power/nut/files/nut-2.2.2-init.d-upsdrv4
-rw-r--r--sys-power/nut/files/nut-2.6.5-init.d-upsd4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys-power/nut/files/nut-2.2.2-init.d-upsd b/sys-power/nut/files/nut-2.2.2-init.d-upsd
index 9697f9bea22..56f524a2c77 100644
--- a/sys-power/nut/files/nut-2.2.2-init.d-upsd
+++ b/sys-power/nut/files/nut-2.2.2-init.d-upsd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -18,7 +18,7 @@ start() {
ebegin "Starting upsd"
# clean up first
pkill -u root,nut -x ${bin}
- sleep 1s
+ sleep 1
rm -f ${pidfile}
# now start up
start-stop-daemon --start --quiet --exec ${bin}
diff --git a/sys-power/nut/files/nut-2.2.2-init.d-upsdrv b/sys-power/nut/files/nut-2.2.2-init.d-upsdrv
index 3c03b5ac564..d142716c5a9 100644
--- a/sys-power/nut/files/nut-2.2.2-init.d-upsdrv
+++ b/sys-power/nut/files/nut-2.2.2-init.d-upsdrv
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -7,7 +7,7 @@ extra_commands="stopall startall"
UPSNAME=${SVCNAME#*.}
msgtext="drivers"
-[ "${UPSNAME}" == "${SVCNAME}" ] && UPSNAME=''
+[ "${UPSNAME}" = "${SVCNAME}" ] && UPSNAME=''
[ -n "$UPSNAME" ] && msgtext="driver for $UPSNAME"
depend() {
diff --git a/sys-power/nut/files/nut-2.6.5-init.d-upsd b/sys-power/nut/files/nut-2.6.5-init.d-upsd
index d522d3bdb16..980963936d5 100644
--- a/sys-power/nut/files/nut-2.6.5-init.d-upsd
+++ b/sys-power/nut/files/nut-2.6.5-init.d-upsd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -18,7 +18,7 @@ start() {
ebegin "Starting upsd"
# clean up first
pkill -u root,nut -x ${bin}
- sleep 1s
+ sleep 1
rm -f ${pidfile}
# now start up
start-stop-daemon --start --quiet --exec ${bin}