"Fossies" - the Fresh Open Source Software Archive

Member "sshdfilter-1.5.7/scripts/ipfw.restore" (7 Apr 2007, 130 Bytes) of package /linux/privat/old/sshdfilter-1.5.7.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 
    3 if [ -f /etc/sshdfilterrc.ipfw ]; then
    4 
    5    awk < /etc/sshdfilterrc.ipfw -- '{printf "ipfw add %s\n",$0;}' | bash
    6 
    7 fi