2011-07-16 15:35:11 +02:00
|
|
|
#!/sbin/runscript
|
|
|
|
|
|
|
|
depend() {
|
|
|
|
before net
|
|
|
|
}
|
|
|
|
|
|
|
|
start() {
|
|
|
|
ebegin "Starting ufw"
|
2011-07-16 19:26:30 +02:00
|
|
|
/lib/ufw/ufw-init start
|
2011-07-16 16:53:33 +02:00
|
|
|
eend $?
|
2011-07-16 15:35:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2011-07-16 16:53:33 +02:00
|
|
|
ebegin "Stopping ufw"
|
2011-07-16 19:26:30 +02:00
|
|
|
/lib/ufw/ufw-init stop
|
|
|
|
eend $?
|
|
|
|
}
|
|
|
|
|
|
|
|
restart() {
|
|
|
|
ebegin "Restarting ufw"
|
2011-07-16 21:28:46 +02:00
|
|
|
/lib/ufw/ufw-init restart
|
2011-07-16 16:53:33 +02:00
|
|
|
eend $?
|
2011-07-16 15:35:11 +02:00
|
|
|
}
|