Installation script of "firewals"


if test -e etc/syslog.conf -a -z "`grep firewall etc/syslog.conf`"; then
  echo -e '\nkern.*\t\t/var/log/firewall' >> etc/syslog.conf
  touch var/log/firewall
#  test -x sbin/pidof && kill -HUP `sbin/pidof syslogd`
fi
echo "Updating etc/rc.config ..."
if [ -x bin/fillup ] ; then
  bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.firewall
else
  echo "ERROR: fillup not found. This should not happen. Please compare"
  echo "etc/rc.config and var/adm/fillup-templates/rc.config.firewall and "
  echo "update by hand."
fi
echo "Updating etc/rc.config.d/firewall.rc.config ..."
if [ -x bin/fillup ] ; then
  bin/fillup -q -d = etc/rc.config.d/firewall.rc.config var/adm/fillup-templates/firewall.rc.config
else
  echo "ERROR: fillup not found. This should not happen. Please compare"
  echo "etc/rc.config.d/firewall.rc.config and"
  echo "var/adm/fillup-templates/rc.firewall"
  echo "and update by hand."
fi
cat >var/adm/notify/messages/firewals_update << _END_
Dear sysadmin,
Congratulations to your firewals-2.1 update.
Please note that you have to reconfigure the firewall, because
several new options and features are available now.
-> Please edit /etc/rc.config.d/firewall.rc.config as soon as   <-
-> possible, otherwise your system won't be protected, the next <-
-> time SuSEfirewall is started!                                <-
Note that the config file has been moved from /etc/rc.firewall
to /etc/rc.config.d/firewall.rc.config.
Yours,
	SuSE Security Team
_END_


(c) SuSE - Last update: 31.03.2000 12:23;