2011-07-16 13:35:11 +00:00
|
|
|
#!/sbin/runscript
|
|
|
|
|
|
|
|
depend() {
|
|
|
|
before net
|
|
|
|
}
|
|
|
|
|
|
|
|
start() {
|
|
|
|
ebegin "Starting ufw"
|
2011-07-16 17:26:30 +00:00
|
|
|
/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"
|
2011-07-16 17:26:30 +00:00
|
|
|
/lib/ufw/ufw-init stop
|
|
|
|
eend $?
|
|
|
|
}
|
|
|
|
|
|
|
|
restart() {
|
|
|
|
ebegin "Restarting ufw"
|
2011-07-16 19:28:46 +00:00
|
|
|
/lib/ufw/ufw-init restart
|
2011-07-16 14:53:33 +00:00
|
|
|
eend $?
|
2011-07-16 13:35:11 +00:00
|
|
|
}
|