|
|
- #!/bin/sh /etc/rc.common
-
- USE_PROCD=1
- START=50
-
- load_params () {
- . /usr/share/shorewall/shorewallrc
- }
-
- start_service() {
- load_params
-
- ${SBINDIR}/shorewall $OPTIONS start $STARTOPTIONS
- }
-
- stop_service() {
- load_params
-
- ${SBINDIR}/shorewall $OPTIONS stop $STOPOPTIONS
- }
-
- restart_service() {
- load_params
-
- ${SBINDIR}/shorewall $OPTIONS restart $RESTARTOPTIONS
- }
-
- reload_service() {
- load_params
-
- ${SBINDIR}/shorewall $OPTIONS reload $RESTARTOPTIONS
- }
|