Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
archiso
Commits
cec14d8b
Verified
Commit
cec14d8b
authored
Mar 29, 2022
by
Alexander Epaneshnikov
Browse files
add needed files
this fixes
#167
parent
e5bdf0c6
Changes
7
Hide whitespace changes
Inline
Side-by-side
configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service
0 → 100644
View file @
cec14d8b
[Unit]
Description
=
Play pacman tune
# for playing alert tunes via the built-in PC speaker (KDMKTONE, KIOCSOUND)
Wants
=
modprobe@pcspkr.service
After
=
modprobe@pcspkr.service
[Service]
User
=
beep
Type
=
oneshot
ExecStart
=
/usr/local/bin/pacman-beep.sh
[Install]
WantedBy
=
sound.target
configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service
0 → 120000
View file @
cec14d8b
../pacmanbeeper.service
\ No newline at end of file
configs/releng/airootfs/etc/sysusers.d/beep.conf
0 → 100644
View file @
cec14d8b
#Type Name ID GECOS Home directory Shell
u
beep
-
beepuser
- -
configs/releng/airootfs/etc/udev/rules.d/90-pcspkr-beep.rules
0 → 100644
View file @
cec14d8b
# Add write access to the PC speaker for the "beep" group
ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="PC Speaker", ENV{DEVNAME}!="", RUN+="/usr/bin/setfacl -m u:beep:w '$env{DEVNAME}'"
configs/releng/airootfs/usr/local/bin/pacman-beep.sh
0 → 100755
View file @
cec14d8b
#!/bin/sh
# I think I converted this from a wav using https://github.com/tomas-teijeiro/wavtobeep
beep
-l
100
-f
15804.2656402
-n
-l
25
-f
19.4454364826
-n
-l
25
-f
123.470825314
-n
-l
50
-f
554.365261954
-n
-l
75
-f
138.591315488
-n
-l
75
-f
1108.73052391
-n
-l
50
-f
19.4454364826
-n
-l
75
-f
783.990871963
-n
-l
50
-f
19.4454364826
-n
-l
75
-f
698.456462866
-n
-l
50
-f
195.997717991
-n
-l
25
-f
184.997211356
-n
-l
50
-f
1108.73052391
-n
-l
75
-f
783.990871963
-n
-l
100
-f
138.591315488
-n
-l
25
-f
155.563491861
-n
-l
150
-f
698.456462866
-n
-l
125
-f
195.997717991
-n
-l
50
-f
554.365261954
-n
-l
25
-f
587.329535835
-n
-l
50
-f
138.591315488
-n
-l
75
-f
1108.73052391
-n
-l
50
-f
19.4454364826
-n
-l
75
-f
880.0
-n
-l
25
-f
38.8908729653
-n
-l
25
-f
19.4454364826
-n
-l
75
-f
739.988845423
-n
-l
75
-f
220.0
-n
-l
75
-f
1108.73052391
-n
-l
50
-f
880.0
-n
-l
25
-f
19.4454364826
-n
-l
75
-f
138.591315488
-n
-l
25
-f
123.470825314
-n
-l
150
-f
739.988845423
-n
-l
125
-f
220.0
-n
-l
75
-f
554.365261954
-n
-l
50
-f
138.591315488
-n
-l
75
-f
1108.73052391
-n
-l
25
-f
1046.5022612
-n
-l
25
-f
1108.73052391
-n
-l
25
-f
19.4454364826
-n
-l
50
-f
783.990871963
-n
-l
25
-f
830.60939516
-n
-l
25
-f
19.4454364826
-n
-l
25
-f
622.253967444
-n
-l
75
-f
698.456462866
-n
-l
50
-f
195.997717991
-n
-l
25
-f
155.563491861
-n
-l
50
-f
1108.73052391
-n
-l
75
-f
783.990871963
-n
-l
100
-f
138.591315488
-n
-l
25
-f
19.4454364826
-n
-l
125
-f
698.456462866
-n
-l
150
-f
195.997717991
-n
-l
50
-f
622.253967444
-n
-l
75
-f
698.456462866
-n
-l
75
-f
739.988845423
-n
-l
25
-f
19.4454364826
-n
-l
25
-f
38.8908729653
-n
-l
125
-f
739.988845423
-n
-l
100
-f
783.990871963
-n
-l
25
-f
19.4454364826
-n
-l
75
-f
783.990871963
-n
-l
150
-f
880.0
-n
-l
50
-f
19.4454364826
-n
-l
125
-f
1108.73052391
-n
-l
75
-f
261.625565301
-n
-l
25
-f
277.182630977
-n
-l
25
-f
261.625565301
configs/releng/packages.x86_64
View file @
cec14d8b
...
...
@@ -4,6 +4,7 @@ arch-install-scripts
archinstall
b43-fwcutter
base
beep
bind-tools
brltty
broadcom-wl
...
...
configs/releng/profiledef.sh
View file @
cec14d8b
...
...
@@ -20,4 +20,5 @@ file_permissions=(
[
"/usr/local/bin/choose-mirror"
]=
"0:0:755"
[
"/usr/local/bin/Installation_guide"
]=
"0:0:755"
[
"/usr/local/bin/livecd-sound"
]=
"0:0:755"
[
"/usr/local/bin/pacman-beep.sh"
]=
"0:0:755"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment