projects
/
librecmc
/
package-feed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
First Commit
[librecmc/package-feed.git]
/
net
/
apcupsd
/
files
/
apcupsd.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006 OpenWrt.org
3
START=50
4
STOP=50
5
6
start() {
7
/usr/sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
8
}
9
10
stop() {
11
kill $(cat /var/run/apcupsd.pid)
12
}