projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0be037b
)
net-misc/spiped: indent initd file.
author
Patrice Clement
<monsieurp@gentoo.org>
Sun, 17 Sep 2017 20:29:19 +0000
(22:29 +0200)
committer
Patrice Clement
<monsieurp@gentoo.org>
Sun, 17 Sep 2017 20:29:44 +0000
(22:29 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1
net-misc/spiped/files/spiped.initd
patch
|
blob
|
history
diff --git
a/net-misc/spiped/files/spiped.initd
b/net-misc/spiped/files/spiped.initd
index ccc95ac80addb0f5a09914ab80d3b9fd5860ef53..80a164c6499909953e7f29c3d715aac549f4dc74 100644
(file)
--- a/
net-misc/spiped/files/spiped.initd
+++ b/
net-misc/spiped/files/spiped.initd
@@
-16,17
+16,17
@@
command_user="${SPIPED_USER}"
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
-
use net
-
before logger
+ use net
+ before logger
}
checkconfig() {
- if [[ ! "$IS_CONFIGURED" == "yes" ]]; then
- eerror "You need to setup /etc/conf.d/spiped first!"
- return 1
- fi
+
if [[ ! "$IS_CONFIGURED" == "yes" ]]; then
+
eerror "You need to setup /etc/conf.d/spiped first!"
+
return 1
+
fi
}
start_pre() {
-
checkconfig || return 1
+ checkconfig || return 1
}