export M22IPADDR=10.1.100.101
export M22NETMASK=255.255.255.0
export M22APP=s12345
#! /bin/bash
#
# Insert modules

# no modules to insert for APC


#
#
#Do not change below this line

# change directory to /mnt/jump
cd /mnt/jump

echo point to new profile file for startup
rm /.profile
ln -s /mnt/jump/profile /.profile

echo point to apc diagnostics
# remove existing diagnostic
if [ -e /usr/bin/diagnose ] ; then rm /usr/bin/diagnose ; fi
if [ -e /usr/local/bin/diagnose ] ; then rm /usr/local/bin/diagnose ; fi
# now add new link
ln -s /mnt/jump/apcdiagnose /usr/bin/diagnose

# comment out the following to NOT run the application
./startm22
# 
# For development, uncomment the following
# . ./rcb
