blob: 89d7492af05248aab130e7848645d610a52ed466 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /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
|