Browse Source

create links for audio->audio0 and friends if they don't exist

OPENBSD_2_6
jason 25 years ago
parent
commit
8f4fd0947d
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/etc/etc.sparc/MAKEDEV

+ 5
- 1
src/etc/etc.sparc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/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. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -307,6 +307,10 @@ audio*)
mknod $audioctl c $major `add $unit 192` mknod $audioctl c $major `add $unit 192`
chown root.wheel $audio $sound $mixer $audioioctl chown root.wheel $audio $sound $mixer $audioioctl
chmod 666 $audio $sound $mixer $audioctl 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*) xfs*)


Loading…
Cancel
Save