#ident	"@(#)pkg.ipc:postinstall	1.2.1.1"
FAILURE=1		# exit code if anything goes wrong
BOOT=/boot		# home of driver object modules
MASTER=/etc/master.d

installf $PKGINST $BOOT/IPC f || exit $FAILURE
installf $PKGINST $MASTER/ipc f || exit $FAILURE

installf $PKGINST $BOOT/MSG f || exit $FAILURE
installf $PKGINST $MASTER/msg f || exit $FAILURE

installf $PKGINST $BOOT/SEM f || exit $FAILURE
installf $PKGINST $MASTER/sem f || exit $FAILURE

installf $PKGINST $BOOT/SHM f || exit $FAILURE
installf $PKGINST $MASTER/sem f || exit $FAILURE

/etc/drvinstall -d $BOOT/IPC -v 1.0 || exit $FAILURE
/etc/drvinstall -d $BOOT/MSG -v 1.0 || exit $FAILURE
/etc/drvinstall -d $BOOT/SEM -v 1.0 || exit $FAILURE
/etc/drvinstall -d $BOOT/SHM -v 1.0 || exit $FAILURE

installf -f $PKGINST || exit $FAILURE
exit 10			# indicates that the system should be rebooted
