Logo
Explore Help
Sign In
archr/Arch-R
0
0
Fork 0
You've already forked Arch-R
mirror of https://github.com/archr-linux/Arch-R.git synced 2026-03-31 14:41:55 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
fbc5c645051348e8aec8d9e94dea4ec11ef61ce1
Arch-R/packages/sysutils/systemd/system.d/network-base.service

13 lines
259 B
SYSTEMD
Raw Normal View History

connman: move host and resolver configuration to separate service Setup system hostname, /etc/resolv.conf and /etc/hosts in a service that can be run independently of connman. The volatile etc files are created in /run/libreelec instead of /run/connman so they can be modified similarily to standard linux installations with a writable /etc. Connman can then hook into that and move resolv.conf management to /run/connman/resolv.conf when it's started. If kernel IP configuration is used the resolv info from the kernel will be used to create resolv.conf. Users can also provide their own resolv.conf file in /storage/.config/resolv.conf which takes precedence over ther kernel info. If no resolv.conf info is present a fallback with use the Google nameservers is created (as before). Loopback network interface setup has been removed, this is already set up by systemd. Signed-off-by: Matthias Reichl <hias@horus.com>
2019-10-08 14:37:19 +02:00
[Unit]
Description=Base Network Configuration
DefaultDependencies=no
After=local-fs.target systemd-tmpfiles-setup.service userconfig.service
[Service]
Type=oneshot
ExecStart=/usr/sbin/network-base-setup
RemainAfterExit=yes
[Install]
WantedBy=network.target
Reference in New Issue Copy Permalink
Powered by Gitea Page: 239ms Template: 11ms
English
English
Licenses API