mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2026-08-06 16:08:22 +00:00
Harden installation and runtime diagnostics
This commit is contained in:
parent
34b4c4b036
commit
ed0b168ab6
14 changed files with 748 additions and 213 deletions
13
etc/systemd/system/pivilion-boot-greeter.service
Normal file
13
etc/systemd/system/pivilion-boot-greeter.service
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Display the Pivilion boot greeting and system status
|
||||
After=local-fs.target
|
||||
Before=getty@tty1.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/lib/pivilion/boot-greeter.sh
|
||||
StandardOutput=journal+console
|
||||
StandardError=journal+console
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
11
etc/systemd/system/pivilion-hostapd.service
Normal file
11
etc/systemd/system/pivilion-hostapd.service
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Pivilion legacy Wi-Fi access point
|
||||
After=network-pre.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/hostapd /run/pivilion/hostapd.conf
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -7,7 +7,7 @@ Wants=network-pre.target
|
|||
Type=oneshot
|
||||
ExecStart=/usr/local/lib/pivilion/mode.sh
|
||||
RemainAfterExit=yes
|
||||
TimeoutStartSec=90
|
||||
TimeoutStartSec=120
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue