23 lines
258 B
Text
23 lines
258 B
Text
#!/sbin/runscript
|
|
|
|
depend() {
|
|
before net
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting ufw"
|
|
/lib/ufw/ufw-init start
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping ufw"
|
|
/lib/ufw/ufw-init stop
|
|
eend $?
|
|
}
|
|
|
|
restart() {
|
|
ebegin "Restarting ufw"
|
|
/lib/ufw/ufw-init restart
|
|
eend $?
|
|
}
|