You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-firewall/ipkungfu/files/ipkungfu.init

20 lines
379 B

#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need logger net
}
start () {
ebegin "Starting ipkungfu"
/usr/sbin/ipkungfu --init
eend $? "Failed to start ipkungfu"
}
stop() {
ebegin "Stopping ipkungfu"
/usr/sbin/ipkungfu --disable > /dev/null
eend $? "Failed to stop ipkungfu"
}