mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
699843a169
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
11 lines
488 B
Diff
11 lines
488 B
Diff
diff -Nur apcupsd-3.14.10.orig/platforms/slackware/apcupsd.in apcupsd-3.14.10/platforms/slackware/apcupsd.in
|
|
--- apcupsd-3.14.10.orig/platforms/slackware/apcupsd.in 2005-03-03 11:18:09.000000000 -0600
|
|
+++ apcupsd-3.14.10/platforms/slackware/apcupsd.in 2012-09-07 21:31:27.347857464 -0500
|
|
@@ -20,6 +20,7 @@
|
|
if [ -f ${APCPID} ]; then
|
|
return=" Already running."
|
|
else
|
|
+ mkdir -p @LOCKDIR@/subsys
|
|
@sbindir@/apcupsd && touch @LOCKDIR@/subsys/apcupsd \
|
|
|| return=" Failed."
|
|
fi
|