From 8f4fd0947d97886987d8e8e36fa6352283c4f387 Mon Sep 17 00:00:00 2001 From: jason <> Date: Wed, 26 May 1999 21:56:13 +0000 Subject: [PATCH] create links for audio->audio0 and friends if they don't exist --- src/etc/etc.sparc/MAKEDEV | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/etc/etc.sparc/MAKEDEV b/src/etc/etc.sparc/MAKEDEV index 4bc6bb2f..3fa445e3 100644 --- a/src/etc/etc.sparc/MAKEDEV +++ b/src/etc/etc.sparc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.56 1999/02/01 00:35:53 jason Exp $ +# $OpenBSD: MAKEDEV,v 1.57 1999/05/26 21:56:13 jason Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -307,6 +307,10 @@ audio*) mknod $audioctl c $major `add $unit 192` chown root.wheel $audio $sound $mixer $audioioctl chmod 666 $audio $sound $mixer $audioctl + [ -e audio ] || ln -s $audio audio + [ -e mixer ] || ln -s $mixer mixer + [ -e sound ] || ln -s $sound sound + [ -e audioctl ] || ln -s $audioctl audioctl ;; xfs*)