summaryrefslogtreecommitdiffstats
path: root/core/modules/dhcpc-busybox
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-22 11:43:11 +0200
committerSimon Rettberg2021-07-22 11:43:11 +0200
commitada5718557d357840dd86f94c2fad0c01cc4dc72 (patch)
treefc7b184db7770361c1976cd90b3316d78f7a3c8c /core/modules/dhcpc-busybox
parent[disk-partitions] New module, modularize partition setup (diff)
downloadmltk-ada5718557d357840dd86f94c2fad0c01cc4dc72.tar.gz
mltk-ada5718557d357840dd86f94c2fad0c01cc4dc72.tar.xz
mltk-ada5718557d357840dd86f94c2fad0c01cc4dc72.zip
[dhcpc-busybox] Workaround for badly assigned sshd.service
Currently, slx-admin/taskmanager attach sshd.service to network.target.wants, but it should be the other way round: sshd wants network. Currently, in MiniLinux, network.target never gets activated by anything. So abuse this to pull in the target.
Diffstat (limited to 'core/modules/dhcpc-busybox')
-rw-r--r--core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service b/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
index cfab7923..aa235a88 100644
--- a/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
+++ b/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
@@ -1,6 +1,7 @@
[Unit]
Description=DHCP Client for %i
After=systemd-tmpfiles-setup.service
+Wants=network.target
[Service]
Type=simple