#! /bin/sh # $OpenBSD: apinstall,v 1.3 1998/02/03 23:33:53 deraadt Exp $ # # Postinstall script for OpenBSD Aperture Driver # # Copyright (C) 1994 The XFree86 Project Inc. # if [ $# -ne 3 ]; then echo "$0: should be called by modload(8) with 3 arguments" exit 1 fi echo "Major device number: $3" rm -f /dev/xf86 mknod /dev/xf86 c $3 0 chown root.wheel /dev/xf86 chmod 600 /dev/xf86 exit 0