File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# Override Emergency Service
4
4
5
- # TODO does not work
5
+ # TODO add ssh server dependency
6
6
7
7
# the default reaction to several failed cryptsetup attempts is to isolate the emergency service
8
8
# which results in loss of network and forced local interactive console - no good for ssh mode
Original file line number Diff line number Diff line change 2
2
3
3
# Override Emergency Target
4
4
5
- # TODO does not work
5
+ # TODO add ssh server dependency
6
6
7
7
# the default reaction to several failed cryptsetup attempts is to isolate the emergency service
8
8
# which results in loss of network and forced local interactive console - no good for ssh mode
Original file line number Diff line number Diff line change
1
+ # This file is part of https://github.com/random-archer/mkinitcpio-systemd-tool
2
+
3
+ # Provide PC Beeper sound during initramfs boot.
4
+
5
+ # service dependencies:
6
+ # - https://www.archlinux.org/packages/extra/x86_64/beep/
7
+
8
+ [Unit]
9
+ Description =Initrd Beeper Service
10
+ ConditionPathExists =/etc/initrd-release
11
+ DefaultDependencies =no
12
+
13
+ [Service]
14
+ Type =oneshot
15
+ RemainAfterExit =true
16
+ ExecStartPre =/usr/bin/beep -f 700 -r 3 -d 50 -l 200
17
+ ExecStart =/bin/true
18
+
19
+ [Install]
20
+ WantedBy =sysinit.target
21
+
22
+ [X-SystemdTool]
23
+
24
+ # provision beeper components
25
+ # https://wiki.archlinux.org/index.php/PC_speaker#Beep
26
+ InitrdBinary =/usr/bin/beep
27
+ InitrdCall =add_module pcspkr
You can’t perform that action at this time.
0 commit comments