Move common live functionality to a new layer
This commit is contained in:
parent
ad6548f839
commit
dd3c07efb7
10 changed files with 4 additions and 28 deletions
|
|
@ -0,0 +1,3 @@
|
|||
# Disable lock on blank screen
|
||||
[org/gnome/desktop/screensaver]
|
||||
lock-enabled = false
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# Disable "Updates available" notifications and auto updates.
|
||||
# Updates which require reboot are useless on live systems,
|
||||
# and other updates would be installed on each boot.
|
||||
[org/gnome/software]
|
||||
allow-updates = false
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=custom configuration of live system during boot.
|
||||
Before=basic.target
|
||||
After=local-fs.target systemd-tmpfiles-setup.service
|
||||
DefaultDependencies=no
|
||||
ConditionKernelCommandLine=boot=live
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/local/bin/live-config
|
||||
|
||||
[Install]
|
||||
WantedBy=basic.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue