2 if [ ! -d /etc/vuurmuur/textdir ]; then
3 # copy default firewall setup
4 cp -R /usr/share/vuurmuur/textdir /etc/vuurmuur/
6 # set permissions and ownership
7 chown -R root:root /etc/vuurmuur
8 chmod -R o=rwX,go= /etc/vuurmuur
9 chown -R root:root /var/log/vuurmuur
10 chmod -R o=rwX,go= /var/log/vuurmuur
13 echo "Default firewall setup has been installed in /etc/vuurmuur/textdir"
15 echo "You can now setup your network topology and firewall rules using vuurmuur_conf"
16 echo "Don't forget to add 'vuurmuur' in /etc/rc.conf"
18 echo "Usefull documentation can be found at http://www.vuurmuur.org"
22 echo "Directory /etc/vuurmuur/textdir already exists. Installation of the default firewall setup has been skipped"
29 echo "Remark: your firewall setup is left unchanged in /etc/vuurmuur/textdir"