#!/bin/sh

# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

if [ -f /etc/redhat-release ]; then
	R=$(cat /etc/redhat-release)
else
	R="release 3.0.3"
fi

arch=$(uname -m)
a="a"
case "_$arch" in
        _a*) a="an";;
        _i*) a="an";;
esac

# This will overwrite /etc/issue at every boot.  So, make any changes you
# want to make to /etc/issue here or you will lose them when you reboot.
#echo "" > /etc/issue
#echo "Red Hat Linux $R" >> /etc/issue
#echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue

#cp -f /etc/issue /etc/issue.net
#echo >> /etc/issue

#postgres - see k2ib nyyd startup skriptist - /etc/rc.d/init.d/posgres.init
#on olemas 6igetes kohtades ja k2ivitub
#su -c /var/lib/postgresql/startdb postgres &

# maskeraad. kohalik vo~rk on 192.168.0.0/24

ipfwadm -F -p deny
ipfwadm -F -i m -S 192.168.0.0/24

#vajalikud moodulid
/sbin/modprobe ip_masq_cuseeme
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_irc
/sbin/modprobe ip_masq_vdolive
/sbin/modprobe ip_masq_raudio
