home *** CD-ROM | disk | FTP | other *** search
- #! /bin/sh
- if [ "`whoami`" != "root" ] ; then
- echo ""
- echo You are not root.
- echo Only the superuser can install a GateKeeper.
- exit 1
- fi
-
- #
- # save config files in app wrapper
- #
- cd ${2}
- if ( test -r ./GateKeeper.app/options ) ; then
- cp ./GateKeeper.app/options /tmp/options
- fi
- if ( test -r ./GateKeeper.app/pppup ) ; then
- cp ./GateKeeper.app/pppup /tmp/pppup
- fi
- if ( test -r ./GateKeeper.app/modemInit ) ; then
- rm -f ./GateKeeper.app/modemInit
- fi
- echo "pre install script complete"
- exit 0
-