#! /bin/sh # $OpenBSD: apinstall,v 1.2 1996/03/05 11:49:32 mickey Exp $ # # Postinstall script for NetBSD 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