Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
archiso
Commits
d11737ff
Verified
Commit
d11737ff
authored
Jun 29, 2020
by
nl6720
Browse files
Use drop-in files for journald and logind configuration
parent
47533fd9
Changes
3
Hide whitespace changes
Inline
Side-by-side
configs/releng/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf
0 → 100644
View file @
d11737ff
[
Journal
]
Storage
=
volatile
configs/releng/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf
0 → 100644
View file @
d11737ff
[
Login
]
HandleSuspendKey
=
ignore
HandleHibernateKey
=
ignore
HandleLidSwitch
=
ignore
configs/releng/airootfs/root/customize_airootfs.sh
View file @
d11737ff
...
...
@@ -15,11 +15,6 @@ passwd -d root
sed
-i
's/#\(PermitRootLogin \).\+/\1yes/'
/etc/ssh/sshd_config
sed
-i
"s/#Server/Server/g"
/etc/pacman.d/mirrorlist
sed
-i
's/#\(Storage=\)auto/\1volatile/'
/etc/systemd/journald.conf
sed
-i
's/#\(HandleSuspendKey=\)suspend/\1ignore/'
/etc/systemd/logind.conf
sed
-i
's/#\(HandleHibernateKey=\)hibernate/\1ignore/'
/etc/systemd/logind.conf
sed
-i
's/#\(HandleLidSwitch=\)suspend/\1ignore/'
/etc/systemd/logind.conf
systemctl
enable
pacman-init.service choose-mirror.service systemd-networkd.service systemd-resolved.service
systemctl set-default multi-user.target
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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