mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2026-08-06 16:08:22 +00:00
Add canonical boot configuration synchronization
This commit is contained in:
parent
254a9b9cf3
commit
eda151065c
14 changed files with 424 additions and 50 deletions
15
etc/systemd/system/pivilion-config.service
Normal file
15
etc/systemd/system/pivilion-config.service
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Apply Pivilion boot-partition configuration
|
||||
DefaultDependencies=no
|
||||
After=local-fs.target
|
||||
Before=network-pre.target NetworkManager.service dhcpcd.service pivilion-mode.service
|
||||
Wants=network-pre.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/lib/pivilion/config-sync.sh apply
|
||||
RemainAfterExit=yes
|
||||
StandardOutput=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
[Unit]
|
||||
Description=Select Pivilion hotspot or onion networking mode
|
||||
After=network-pre.target NetworkManager.service dhcpcd.service
|
||||
Wants=network-pre.target
|
||||
Requires=pivilion-config.service
|
||||
After=pivilion-config.service NetworkManager.service dhcpcd.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue