create getty@tty1.service instead of a broken getty@.service
Also push all default units to enable through the preset list.
This commit is contained in:
parent
2d07fac58e
commit
ac639945fe
@ -1,6 +1,12 @@
|
|||||||
# Also see:
|
# Also see:
|
||||||
# https://fedoraproject.org/wiki/Starting_services_by_default
|
# https://fedoraproject.org/wiki/Starting_services_by_default
|
||||||
|
|
||||||
|
# systemd
|
||||||
|
enable remote-fs.target
|
||||||
|
enable getty@tty1.service
|
||||||
|
enable systemd-readahead-replay.service
|
||||||
|
enable systemd-readahead-collect.service
|
||||||
|
|
||||||
# System stuff
|
# System stuff
|
||||||
enable sshd.service
|
enable sshd.service
|
||||||
enable atd.*
|
enable atd.*
|
||||||
|
@ -382,9 +382,9 @@ if [ $1 -eq 1 ] ; then
|
|||||||
# And symlink what we found to the new-style default.target
|
# And symlink what we found to the new-style default.target
|
||||||
ln -sf "$target" /etc/systemd/system/default.target >/dev/null 2>&1 || :
|
ln -sf "$target" /etc/systemd/system/default.target >/dev/null 2>&1 || :
|
||||||
|
|
||||||
# Enable the services we install by default.
|
# Services we install by default, and which are controlled by presets.
|
||||||
systemctl enable \
|
systemctl preset \
|
||||||
getty@.service \
|
getty@tty1.service \
|
||||||
remote-fs.target \
|
remote-fs.target \
|
||||||
systemd-readahead-replay.service \
|
systemd-readahead-replay.service \
|
||||||
systemd-readahead-collect.service >/dev/null 2>&1 || :
|
systemd-readahead-collect.service >/dev/null 2>&1 || :
|
||||||
|
Loading…
Reference in New Issue
Block a user