Skip to content

Commit

Permalink
net-misc/spiped: indent initd file.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
monsieurp committed Sep 17, 2017
1 parent 0be037b commit dd56a26
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions net-misc/spiped/files/spiped.initd
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit dd56a26

Please sign in to comment.