diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1999-05-26 21:56:14 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1999-05-26 21:56:14 +0000 |
commit | c3756db1aa30beced788f01e1fb5efd689f21499 (patch) | |
tree | ca3e5c0221d3435c7d5c29ccc1a0afb3c2433b8f /etc/etc.sparc/MAKEDEV | |
parent | 3436a4ba03db6cc37d436d0f56b02e74e8edffaa (diff) |
create links for audio->audio0 and friends if they don't exist
Diffstat (limited to 'etc/etc.sparc/MAKEDEV')
-rw-r--r-- | etc/etc.sparc/MAKEDEV | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV index 4bc6bb2f8f1..3fa445e367c 100644 --- a/etc/etc.sparc/MAKEDEV +++ b/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*) |