User`s guide

Appendix A. Sample rc.startsra File Protogate Freeway Security Features User’s Guide (SFUG)
echo " ping -n -o -t 10 ${TARGET2} > /dev/null ; do" >> /tmp/ipfailover.sh
echo " sleep 10" >> /tmp/ipfailover.sh
echo " done" >> /tmp/ipfailover.sh
echo "" >> /tmp/ipfailover.sh
echo " # echo resetting to use ${ETH_DEV}1" >> /tmp/ipfailover.sh
echo " ifconfig ${ETH_DEV}0 down" >> /tmp/ipfailover.sh
echo " ifconfig ${ETH_DEV}1 up" >> /tmp/ipfailover.sh
echo " logger -p local0.warning -s \"Ethernet ${ETH_DEV}0 failed, switching to ${ETH_DEV}1\"" \
>> /tmp/ipfailover.sh
echo " sleep 30" >> /tmp/ipfailover.sh
echo "" >> /tmp/ipfailover.sh
echo " # stay here as long as we can ping either target" >> /tmp/ipfailover.sh
echo " while ping -n -o -t 10 ${TARGET1} > /dev/null ||" >> /tmp/ipfailover.sh
echo " ping -n -o -t 10 ${TARGET2} > /dev/null ||" >> /tmp/ipfailover.sh
echo " ping -n -o -t 10 ${TARGET1} > /dev/null ||" >> /tmp/ipfailover.sh
echo " ping -n -o -t 10 ${TARGET2} > /dev/null ; do" >> /tmp/ipfailover.sh
echo " sleep 10" >> /tmp/ipfailover.sh
echo " done" >> /tmp/ipfailover.sh
echo " logger -p local0.warning -s \"Ethernet ${ETH_DEV}1 failed, switching to ${ETH_DEV}0\"" \
>> /tmp/ipfailover.sh
echo "" >> /tmp/ipfailover.sh
echo "done" >> /tmp/ipfailover.sh
echo " " >> /tmp/ipfailover.sh
chmod go-wx /tmp/ipfailover.sh
chflags schg /tmp/ipfailover.sh
sh /tmp/ipfailover.sh &
fi
# route delete default
# route add default ${DEFAULT_ROUTER}
cd /tmp/boot
## Start webserver (commented out)
##if [ -x /usr/local/etc/rc.d/apache22 ]; then
## /usr/local/etc/rc.d/apache22 start
##fi
if [ ! -d /var/save ]; then
mkdir -p -m 777 /var/save
fi
ln -s M /etc/malloc.conf
# Start kernel-level event auditing. The root user can use
# "praudit -l /var/audit/current" to see the audit entries, or
# "praudit -l /dev/auditpipe" to continually see the latest entries
# as they appear.
if [ ! -d /var/audit ]; then
mkdir -p -m 750 /var/audit
fi
chmod go-w /etc/security
if /usr/bin/grep "^host:" /etc/security/audit_control >/dev/null; then
34 Protogate DC-908-3004A