[Shorewall-users] 2 questions

Jørgen Lysgaard j.lysgaard@mail.dk
Fri, 05 Apr 2002 00:47:48 +0200


I'm bulding a small "Linux from Scratch"  Router/firewall, and was 
planing to use Shorewall.

1. question:
Right now i use Seawall, It dont start if my pppoe is not running, but 
Shorewall dont care, why this difference ?

2. question:
I have made a init script, but it dont handel the " kill  $$ " ( line 90 
& 825 in shorewall 1.2.10 ) very vel
( out put dont look nice ), are kill needed if .../init.d/shorewall is 
started from /sbin/shorewall ?  or by ????

part off my script:

case "$1" in
    start)
    echo "Startning Shorewall... "
    /etc/rc.d/init.d/shorewall start > /dev/null  
    evaluate_retval
    ;;

    stop)

Out put if no Error:
Startning Shorewall...                                               [ 
 OK  ]

Out put if Error:
Startning Shorewall...
ERROR: No Zones Defined
./firewall: line 43: 12677 Termineret              
/etc/rc.d/init.d/shorewall st
art > /dev/null                                                     
 [FAILED]



12345678901234567890123456789012345678901234567890123456789012345678901234567890
         1         2         3         4         5         6         7