Hello

on /etc/init.d/shorewall restart, the script complains with:

        * Please use 'svc_stop; svc_start' and not 'start; stop' to
        * restart the service in its custom 'restart()' function.
        * Run shorewall without arguments for more info.

But if you modify the shorewall init script to read:

        restart() {
                ebegin "Restarting firewall"
                # svc_stop; svc_start;
                /sbin/shorewall restart 1>/dev/null
                eend $?
        }

There's no more complains, and you'll preserve the script functionality ;-)

Regards,
Norberto

-- 
 18:59:53 up 7 days,  2:37,  1 user,  load average: 0.03, 0.01, 0.00

Attachment: pgp00000.pgp
Description: signature

Reply via email to