1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

preset: ship a minimal preset file upstream

This is useful so that distros have something to base their own policy
of. It also useful to make sure that minimal installs always get useful
configuration in place.
This commit is contained in:
Lennart Poettering 2014-06-17 01:14:44 +02:00
parent d7b15e0a01
commit 1713703c96
3 changed files with 35 additions and 0 deletions

View File

@ -509,6 +509,9 @@ dist_userunit_DATA = \
nodist_userunit_DATA = \ nodist_userunit_DATA = \
units/user/systemd-exit.service units/user/systemd-exit.service
dist_systempreset_DATA = \
system-preset/90-systemd.preset
EXTRA_DIST += \ EXTRA_DIST += \
units/getty@.service.m4 \ units/getty@.service.m4 \
units/serial-getty@.service.m4 \ units/serial-getty@.service.m4 \

View File

@ -0,0 +1,31 @@
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
# These ones should be enabled by default, even if distributions
# generally follow a default-off policy.
enable remote-fs.target
enable getty@.service
enable systemd-readahead-*
enable systemd-timesyncd.service
enable systemd-networkd.service
enable systemd-resolved.service
disable console-getty.service
disable console-shell.service
disable debug-shell.service
disable halt.target
disable kexec.target
disable poweroff.target
disable reboot.target
disable rescue.target
disable syslog.socket
disable systemd-journal-gatewayd.*
disable systemd-networkd-wait-online.service

1
system-preset/Makefile Symbolic link
View File

@ -0,0 +1 @@
../src/Makefile