Automatic Start Up Script for IDS
Posted in 1998
Hi,
I would like to donate this script to be used in the /etc/rc3.d for the
automatic start-up of the IDS during the server start-up process for
Solaris.
#!/sbin/sh
#
# Copyright (C) 1998 System Admin team
# SilkRoute Ventures Pte Ltd
# Coded by Isaiah Chua
# 3 July 1998
#
# Feel free to port it for use on other Sun servers
# Best run under Bourne shell
# Under Solaris 2.5.1
# For Informix
#
# Last modified: 10 July 1998 at 1040 hrs (revision 5)
# with Walrus and Swod (swod@silkroute.com)
#
# For use in Server Start-Up script. To be used in /etc/rc3.d
# This line starts up the Informix server
# Startup the Informix server now
INFORMIXDIR=/opt/informix export INFORMIXDIR
ONCONFIG=onconfig.tourism export ONCONFIG
INFORMIXSERVER=tourism_online export INFORMIXSERVER
DBCENTURY=C
export DBCENTURY
cd /opt/informix/bin
./oninit &
# This is to allow the IDS to start up properly first before
# other software begins their start up process otherwise
# system might not boot up properly.
echo "Starting Informix server... please wait"
sleep 10
# End of script
Swod