#! /bin/sh
cd ${2}
#
#	make GateKeeper and MODEM tool suid Root
#
cd GateKeeper.app
chmod u+s GateKeeper
/usr/etc/chown root.wheel GateKeeper
chmod u+s MODEM
/usr/etc/chown root.wheel MODEM
#
#	restore config files to app wrapper
#
if ( test -r /tmp/options ) ; then
	mv /tmp/options ./options 
fi
if ( test -r /tmp/pppup ) ; then
	mv /tmp/pppup ./pppup 
fi
	echo "post install script complete"
exit 0
