void-packages/srcpkgs/ufw/files/ufw.rc

24 lines
258 B
Text
Raw Normal View History

2011-07-16 13:35:11 +00:00
#!/sbin/runscript
depend() {
before net
}
start() {
ebegin "Starting ufw"
/lib/ufw/ufw-init start
2011-07-16 14:53:33 +00:00
eend $?
2011-07-16 13:35:11 +00:00
}
stop() {
2011-07-16 14:53:33 +00:00
ebegin "Stopping ufw"
/lib/ufw/ufw-init stop
eend $?
}
restart() {
ebegin "Restarting ufw"
/lib/ufw/ufw-init restart
2011-07-16 14:53:33 +00:00
eend $?
2011-07-16 13:35:11 +00:00
}