2011-07-16 15:35:11 +02:00
|
|
|
#!/sbin/runscript
|
|
|
|
|
|
|
|
depend() {
|
|
|
|
before net
|
|
|
|
}
|
|
|
|
|
|
|
|
start() {
|
|
|
|
ebegin "Starting ufw"
|
|
|
|
ufw enable
|
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 15:35:11 +02:00
|
|
|
ufw disable
|
2011-07-16 16:53:33 +02:00
|
|
|
eend $?
|
2011-07-16 15:35:11 +02:00
|
|
|
}
|