1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:58:11 +00:00

Base: Add an "audio" group that gets to write to /dev/audio

This commit is contained in:
Andreas Kling 2020-01-04 13:25:13 +01:00
parent 498659773c
commit f558c8e36a
2 changed files with 4 additions and 4 deletions

View file

@ -4,9 +4,7 @@ set -e
tty_gid=2
phys_gid=3
# HACK: Get rid of old "qs" binaries still lying around from before it was renamed.
rm -f ../Userland/qs
audio_gid=4
die() {
echo "die: $*"
@ -60,8 +58,9 @@ mknod mnt/dev/psaux c 10 1
chmod 440 mnt/dev/psaux
chown 0:$phys_gid mnt/dev/psaux
mknod mnt/dev/audio c 42 42
chmod 220 mnt/dev/audio
chown 0:$audio_gid mnt/dev/audio
mknod mnt/dev/ptmx c 5 2
chmod 666 mnt/dev/audio
chmod 666 mnt/dev/ptmx
mknod mnt/dev/hda b 3 0
mknod mnt/dev/hdb b 3 1