projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e34bae
)
dev-libs/openct: cleanup initd
author
Alon Bar-Lev
<alonbl@gentoo.org>
Sun, 23 Sep 2018 19:09:17 +0000
(22:09 +0300)
committer
Alon Bar-Lev
<alonbl@gentoo.org>
Thu, 27 Sep 2018 23:51:24 +0000
(
02:51
+0300)
Package-Manager: Portage-2.3.49, Repoman-2.3.10
dev-libs/openct/files/openct.initd
patch
|
blob
|
history
diff --git
a/dev-libs/openct/files/openct.initd
b/dev-libs/openct/files/openct.initd
index 79f2336f3ea15352760eedabf3a35485104e7f68..ecf574f2e31c6291ba39b9525b942c55d0d66c98 100644
(file)
--- a/
dev-libs/openct/files/openct.initd
+++ b/
dev-libs/openct/files/openct.initd
@@
-6,19
+6,15
@@
depend() {
need localmount
}
-
checkconfig
() {
+
start_pre
() {
if [ ! -e /etc/openct.conf ] ; then
eerror "You need an /etc/openct.conf file to run OpenCT"
return 1
fi
- return 0
+ checkpath -d -m 0750 -o openctd:openct /var/run/openct
}
start() {
- checkconfig || return 1
-
- checkpath -d -m 0750 -o openctd:openct /var/run/openct
-
ebegin "Starting OpenCT"
/usr/sbin/openct-control init
eend $?