package: rely on systemctl preset-all for buildroot-provided services
authorJérémy Rosen <jeremy.rosen@smile.fr>
Mon, 16 Dec 2019 10:30:43 +0000 (11:30 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 18 Dec 2019 17:27:41 +0000 (18:27 +0100)
All the packages in this list have the following properties
* units are provided by buildroot in the package directory
* the SYSTEMD_INSTALL_INIT_HOOK is exactly equivalent to what the
  [Install] section of the unit does

The fix removes the soflinking in the .mk file

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
61 files changed:
package/acpid/acpid.mk
package/apache/apache.mk
package/babeld/babeld.mk
package/bandwidthd/bandwidthd.mk
package/bind/bind.mk
package/brltty/brltty.mk
package/chrony/chrony.mk
package/collectd/collectd.mk
package/darkhttpd/darkhttpd.mk
package/dcron/dcron.mk
package/dhcp/dhcp.mk
package/dhcpcd/dhcpcd.mk
package/domoticz/domoticz.mk
package/dropbear/dropbear.mk
package/exim/exim.mk
package/freescale-imx/imx-uuc/imx-uuc.mk
package/haveged/haveged.mk
package/i2pd/i2pd.mk
package/ifupdown-scripts/ifupdown-scripts.mk
package/igd2-for-linux/igd2-for-linux.mk
package/inadyn/inadyn.mk
package/input-event-daemon/input-event-daemon.mk
package/irqbalance/irqbalance.mk
package/iucode-tool/iucode-tool.mk
package/kodi/kodi.mk
package/mariadb/mariadb.mk
package/mender/mender.mk
package/mini-snmpd/mini-snmpd.mk
package/minidlna/minidlna.mk
package/minissdpd/minissdpd.mk
package/motion/motion.mk
package/netplug/netplug.mk
package/nginx/nginx.mk
package/nss-pam-ldapd/nss-pam-ldapd.mk
package/ntp/ntp.mk
package/olsr/olsr.mk
package/openntpd/openntpd.mk
package/openssh/openssh.mk
package/openvmtools/openvmtools.mk
package/oracle-mysql/oracle-mysql.mk
package/postgresql/postgresql.mk
package/proftpd/proftpd.mk
package/psplash/psplash.mk
package/ptpd/ptpd.mk
package/ptpd2/ptpd2.mk
package/pulseaudio/pulseaudio.mk
package/python-web2py/python-web2py.mk
package/rabbitmq-server/rabbitmq-server.mk
package/redis/redis.mk
package/rng-tools/rng-tools.mk
package/rpcbind/rpcbind.mk
package/rygel/rygel.mk
package/sane-backends/sane-backends.mk
package/supervisor/supervisor.mk
package/suricata/suricata.mk
package/sysklogd/sysklogd.mk
package/tcf-agent/tcf-agent.mk
package/thttpd/thttpd.mk
package/ti-gfx/ti-gfx.mk
package/tinyhttpd/tinyhttpd.mk
package/triggerhappy/triggerhappy.mk

index 20295aa5a413e0db015c46f89cb59c8f4e45523b..ff6e62b5cd9109651eb8210308c3240f2c924474 100644 (file)
@@ -13,9 +13,6 @@ ACPID_LICENSE_FILES = COPYING
 define ACPID_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/acpid/acpid.service \
                $(TARGET_DIR)/usr/lib/systemd/system/acpid.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/acpid.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/acpid.service
 endef
 
 define ACPID_INSTALL_INIT_SYSV
index 1d62538b19f3b8e806921d1a5dc45c6a2dfe4889..22e7be883273d3bdfe8b55997fff8c50267456a9 100644 (file)
@@ -109,9 +109,6 @@ endef
 define APACHE_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/apache/apache.service \
                $(TARGET_DIR)/usr/lib/systemd/system/apache.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/apache.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/apache.service
 endef
 
 $(eval $(autotools-package))
index 5fbfa6548597bb70f58c3534984fedcfd8a03df9..f864b5db26d9ea6548abbaf15d364cfeac9484d4 100644 (file)
@@ -25,11 +25,6 @@ endef
 define BABELD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/babeld/babeld.service \
                $(TARGET_DIR)/usr/lib/systemd/system/babeld.service
-
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-
-       ln -fs ../../../../usr/lib/systemd/system/babeld.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/babeld.service
 endef
 
 $(eval $(generic-package))
index e9bc871a6a8fcc906588006ab1e49520285984dd..990d8c5d8f84cdc50c6825d12209d4112a4a9dfc 100644 (file)
@@ -34,11 +34,6 @@ endif
 define BANDWIDTHD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/bandwidthd/bandwidthd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/bandwidthd.service
-
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-
-       ln -sf /usr/lib/systemd/system/bandwidthd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/bandwidthd.service
 endef
 
 $(eval $(autotools-package))
index 2d75f58b3fc38d49cfd47723305e123f4266d4ca..89d83d4d549c4f0dd0a3ca988796ae7de5ef4c5e 100644 (file)
@@ -111,11 +111,6 @@ endef
 define BIND_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 $(BIND_PKGDIR)/named.service \
                $(TARGET_DIR)/usr/lib/systemd/system/named.service
-
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-
-       ln -sf /usr/lib/systemd/system/named.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/named.service
 endef
 else
 BIND_POST_INSTALL_TARGET_HOOKS += BIND_TARGET_REMOVE_SERVER
index 3ae8b899b8e498c99d89afa9e0d4e82314bf7723..11b8c0d35f4073fb740ee30956b5bda6c49aa8d2 100644 (file)
@@ -121,10 +121,6 @@ endef
 define BRLTTY_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/brltty/brltty.service \
                   $(TARGET_DIR)/usr/lib/systemd/system/brltty.service
-
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
-       ln -fs  ../../../../usr/lib/systemd/system/brltty.service \
-               $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/brltty.service
 endef
 
 $(eval $(autotools-package))
index 379745022c48d99ddff2abb93242dad89707e29d..d7f5c0518386824f58703b2a6f9f0b699918a227 100644 (file)
@@ -67,9 +67,6 @@ endef
 define CHRONY_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/chrony/chrony.service \
                $(TARGET_DIR)/usr/lib/systemd/system/chrony.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/chrony.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/chrony.service
 endef
 
 $(eval $(generic-package))
index 9ff29fcbeaba13a37a051875b1409480988bf5c5..fd27443755379d5f9d59ace652e8897637c1ab4e 100644 (file)
@@ -229,9 +229,6 @@ endef
 define COLLECTD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/collectd/collectd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/collectd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/collectd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/collectd.service
 endef
 
 $(eval $(autotools-package))
index df80899371259018073c7187296c3c59adfc1fef..f4831a942642010052168a2fb4c51984c45439a9 100644 (file)
@@ -21,9 +21,6 @@ endef
 define DARKHTTPD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/darkhttpd/darkhttpd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/darkhttpd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/darkhttpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/darkhttpd.service
 endef
 
 define DARKHTTPD_INSTALL_INIT_SYSV
index 2ee0709af590b2668a74df5a53bdc7e1d778981c..51ebb18745bf27804823010d537b1669c10933f4 100644 (file)
@@ -31,9 +31,6 @@ endef
 define DCRON_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/dcron/dcron.service \
                $(TARGET_DIR)/usr/lib/systemd/system/dcron.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/dcron.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dcron.service
 endef
 
 $(eval $(generic-package))
index 5e0bcca71f4cd0e5592961d57b659f709af2436c..335c631119571c7016d6636183b303b88b689ec5 100644 (file)
@@ -100,11 +100,6 @@ define DHCP_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/dhcp/dhcpd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/dhcpd.service
 
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-
-       ln -sf ../../../../usr/lib/systemd/system/dhcpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dhcpd.service
-
        mkdir -p $(TARGET_DIR)/usr/lib/tmpfiles.d
        echo "d /var/lib/dhcp 0755 - - - -" > \
                $(TARGET_DIR)/usr/lib/tmpfiles.d/dhcpd.conf
index cd20d8f9f3a10147e8353eea4d046e909083fdf9..63dbbee86c861959141e3ee336e45a11b6563d7b 100644 (file)
@@ -48,9 +48,6 @@ endef
 define DHCPCD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/dhcpcd/dhcpcd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/dhcpcd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/dhcpcd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dhcpcd.service
 endef
 endif
 
index c0568c61c6ecb8375889fa8899689e4b3295d635..ab560ba05fc131055ff1b82dd153e05897c5ace4 100644 (file)
@@ -78,9 +78,6 @@ endef
 define DOMOTICZ_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/domoticz/domoticz.service \
                $(TARGET_DIR)/usr/lib/systemd/system/domoticz.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/domoticz.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/domoticz.service
 endef
 
 $(eval $(cmake-package))
index 7cbc16bc3de1709c62665a48e465798a00554b6d..23e5e3f60099238418401cab27e0ec5e21bffa37 100644 (file)
@@ -90,9 +90,6 @@ DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_CUSTOM_PATH
 define DROPBEAR_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/dropbear/dropbear.service \
                $(TARGET_DIR)/usr/lib/systemd/system/dropbear.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/dropbear.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dropbear.service
 endef
 
 ifeq ($(BR2_USE_MMU),y)
index 014565c85bdf741bd1e2fd8ddb961dbc79f399c9..040b292a8793b9b2cb0675629b72c848e67af7ab 100644 (file)
@@ -145,9 +145,6 @@ endef
 define EXIM_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/exim/exim.service \
                $(TARGET_DIR)/usr/lib/systemd/system/exim.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/exim.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/exim.service
 endef
 
 $(eval $(generic-package))
index 040d7bd87441ecf36fc7a34b7db4421a3af80164..2ed910cb848cb2eab269468cdedbf687f9613546 100644 (file)
@@ -33,9 +33,6 @@ endef
 define IMX_UUC_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/freescale-imx/imx-uuc/imx-uuc.service \
                $(TARGET_DIR)/usr/lib/systemd/system/imx-uuc.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
-       ln -fs ../../../../usr/lib/systemd/system/imx-uuc.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/imx-uuc.service
 endef
 
 $(eval $(generic-package))
index 05b59a1685c764b0aa8b50ddb270fb6779f4727e..cc834304df471e7fa34c1e531cfe20d61a5a3b66 100644 (file)
@@ -21,9 +21,6 @@ endef
 define HAVEGED_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/haveged/haveged.service \
                $(TARGET_DIR)/usr/lib/systemd/system/haveged.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs /usr/lib/systemd/system/haveged.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/haveged.service
 endef
 
 $(eval $(autotools-package))
index 5fa815c21dc4841e97b09db59b9545588cad6cf0..de975d66a4c77a234477ef2bcf4d12806b751431 100644 (file)
@@ -59,9 +59,6 @@ endef
 define I2PD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/i2pd/i2pd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/i2pd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/i2pd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/i2pd.service
 endef
 
 $(eval $(cmake-package))
index 17364aed03b6f0f4b44238ad3e044a07548ed6c8..abb45757774d21630b36a06fda8bc7b0ba5a2e29 100644 (file)
@@ -48,9 +48,6 @@ endef
 define IFUPDOWN_SCRIPTS_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 $(IFUPDOWN_SCRIPTS_PKGDIR)/network.service \
                $(TARGET_DIR)/etc/systemd/system/network.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../network.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/network.service
 endef
 
 $(eval $(generic-package))
index 38170b4f574e23dc77c6e2f75c3862bd7e779825..478c353997665afa0cf2ed41cf2fe71047748aa6 100644 (file)
@@ -40,9 +40,6 @@ endef
 define IGD2_FOR_LINUX_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/igd2-for-linux/upnpd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/upnpd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/upnpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/upnpd.service
 endef
 
 $(eval $(generic-package))
index 96a37d4768631875af5bf2ccdb247eebc9eb534c..5f67849252b7e1ed55f9b2e91c45c1684d012d6e 100644 (file)
@@ -34,9 +34,6 @@ endef
 define INADYN_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/inadyn/inadyn.service \
                $(TARGET_DIR)/usr/lib/systemd/system/inadyn.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/inadyn.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/inadyn.service
 endef
 
 $(eval $(autotools-package))
index 632c9eeecb91aca220adea79057090e5c20c2d40..dbe2d4bfb2d0ecdae427c89c209325e9a3662062 100644 (file)
@@ -30,9 +30,6 @@ endef
 define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/input-event-daemon/input-event-daemon.service \
                $(TARGET_DIR)/usr/lib/systemd/system/input-event-daemon.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf /usr/lib/systemd/system/input-event-daemon.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/input-event-daemon.service
 endef
 
 $(eval $(generic-package))
index b01eba96c8e9c905e221cb5e46be546c73c22ab9..16967aa8c0605e7bca8b1ce211f91e19febad1b3 100644 (file)
@@ -55,9 +55,6 @@ endef
 define IRQBALANCE_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/irqbalance/irqbalance.service \
                $(TARGET_DIR)/usr/lib/systemd/system/irqbalance.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/irqbalance.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/irqbalance.service
 endef
 
 $(eval $(autotools-package))
index e900888d7db518da03070e91a9f86743a5d74297..bddc37295c9a46a7c15ea9cc005c42d4227e5f5a 100644 (file)
@@ -21,9 +21,6 @@ endef
 define IUCODE_TOOL_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/iucode-tool/iucode.service \
                $(TARGET_DIR)/usr/lib/systemd/system/iucode.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/iucode.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/iucode.service
 endef
 
 $(eval $(autotools-package))
index ceab5d5c0b279ac7be89bf6b38af595799dd1f2d..9ea170ff6bf79b201cc7f02d9ffdbb584bde0846 100644 (file)
@@ -398,11 +398,6 @@ endef
 define KODI_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/kodi/kodi.service \
                $(TARGET_DIR)/usr/lib/systemd/system/kodi.service
-
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-
-       ln -fs ../../../../usr/lib/systemd/system/kodi.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/kodi.service
 endef
 
 $(eval $(cmake-package))
index 82e3c16dafd0b4d53515a747aed3b568d168c2a4..f76a974d65b6b518d829bedfad983c8d9bed6711 100644 (file)
@@ -120,9 +120,6 @@ endef
 define MARIADB_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/mariadb/mysqld.service \
                $(TARGET_DIR)/usr/lib/systemd/system/mysqld.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/mysqld.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mysqld.service
 endef
 endif
 
index fded7fa9434a36d5465b2fe396220a44ff2036f7..87fdc452681a55b903b75c79723a9c9c316e227f 100644 (file)
@@ -70,9 +70,6 @@ MENDER_POST_INSTALL_TARGET_HOOKS += MENDER_INSTALL_CONFIG_FILES
 define MENDER_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 $(MENDER_PKGDIR)/mender.service \
                $(TARGET_DIR)/usr/lib/systemd/system/mender.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/mender.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mender.service
 endef
 
 define MENDER_INSTALL_INIT_SYSV
index f2480e3168f4fb9c839695ee162fb14d49e8d09e..698402bc513cb09f228d6217df879ffdbb41fd41 100644 (file)
@@ -13,9 +13,6 @@ MINI_SNMPD_AUTORECONF = YES
 define MINI_SNMPD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/mini-snmpd/mini-snmpd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/mini-snmpd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/mini-snmpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mini-snmpd.service
 endef
 
 $(eval $(autotools-package))
index 262480cbff66be18b6af1db3c1b2bf38a34878d0..c66e97b073159e7da6e715116dc29bec0252663f 100644 (file)
@@ -31,11 +31,6 @@ endef
 define MINIDLNA_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/minidlna/minidlnad.service \
                $(TARGET_DIR)/usr/lib/systemd/system/minidlnad.service
-
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-
-       ln -fs  ../../../../usr/lib/systemd/system/minidlnad.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/minidlnad.service
 endef
 
 $(eval $(autotools-package))
index 31d942eac570b7de0c4b98eec4f029fbee277a0b..d97eece680042f742c7857ca40972e11afeabd6c 100644 (file)
@@ -32,9 +32,6 @@ endef
 define MINISSDPD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/minissdpd/minissdpd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/minissdpd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/minissdpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/minissdpd.service
 endef
 
 $(eval $(generic-package))
index 165e402fc8ec97aa6c32846786b92e62a6e1963b..ae58c54935ac660b90e4f1c460a6618928004134 100644 (file)
@@ -71,9 +71,6 @@ endef
 define MOTION_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/motion/motion.service \
                $(TARGET_DIR)/usr/lib/systemd/system/motion.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/motion.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/motion.service
 endef
 
 $(eval $(autotools-package))
index 9363a71811c85cd20e4aa4b07d4755ca7345322d..b5083120f13f2fd1aea31b28a3bb5d4595d65171 100644 (file)
@@ -26,9 +26,6 @@ endef
 define NETPLUG_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/netplug/netplug.service \
                $(TARGET_DIR)/usr/lib/systemd/system/netplug.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/netplug.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/netplug.service
 endef
 
 $(eval $(generic-package))
index 7ab656fd8b078aafd9c957875c636c7530c2d193..f895b78779ea74c57b075fa3d274cae0ee1d9a4d 100644 (file)
@@ -281,11 +281,6 @@ endef
 define NGINX_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/nginx/nginx.service \
                $(TARGET_DIR)/usr/lib/systemd/system/nginx.service
-
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-
-       ln -fs ../../../../usr/lib/systemd/system/nginx.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/nginx.service
 endef
 
 define NGINX_INSTALL_INIT_SYSV
index 15b3c4b95ef2d42a80df5b6609da89e57cac1837..223a9eeaeca86a641a1f3cf9fc3da5c26d802bff 100644 (file)
@@ -29,9 +29,6 @@ endif
 define NSS_PAM_LDAPD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -m 644 -D package/nss-pam-ldapd/nslcd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/nslcd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/nslcd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/nslcd.service
 endef
 
 define NSS_PAM_LDAPD_INSTALL_INIT_SYSV
index d53fcc5d0ba0e99be73b2a408a41d9d1ff214841..fb138a8fbad7db0860cb71d07bd301983ea8d335 100644 (file)
@@ -108,9 +108,6 @@ endef
 
 define NTP_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/ntp/ntpd.service $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/ntpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
 endef
 endif
 
index faff2533d9a475efadfe6e464f8b7f201ca817ca..766b1432c1633f042b1c4070f63bf9fa2e33a9cd 100644 (file)
@@ -43,9 +43,6 @@ endef
 define OLSR_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/olsr/olsr.service \
                $(TARGET_DIR)/usr/lib/systemd/system/olsr.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/olsr.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/olsr.service
 endef
 
 $(eval $(generic-package))
index f5a5690479593872a62a7380cc1cf5e79175b7e2..f2eaee7efd4656acd11069217b8cca64c78b4009 100644 (file)
@@ -24,9 +24,6 @@ OPENNTPD_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -pthread"
 define OPENNTPD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/openntpd/ntpd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/ntpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
 endef
 
 define OPENNTPD_INSTALL_INIT_SYSV
index 47a724d839aa02d3eb4c0a616dbf0fa707ec08a5..0411133bdc699818d3397081f62c3d3d83ff7c39 100644 (file)
@@ -74,9 +74,6 @@ endif
 define OPENSSH_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/openssh/sshd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/sshd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/sshd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/sshd.service
        $(OPENSSH_INSTALL_SYSTEMD_SYSUSERS)
 endef
 
index fc56bb5ee01b97e659f3c7b648f6290a2203e53c..68afa1707852803be23058e500727b6696483d22 100644 (file)
@@ -72,9 +72,6 @@ endef
 define OPENVMTOOLS_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/openvmtools/vmtoolsd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/vmtoolsd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/vmtoolsd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/vmtoolsd.service
 endef
 
 $(eval $(autotools-package))
index 326fbcc0409f5666aa2fd47b251d67f2ff9835d0..8a8613a3d1e6ee2b610a90a70010dfb32d4b331f 100644 (file)
@@ -116,9 +116,6 @@ endef
 define ORACLE_MYSQL_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 $(ORACLE_MYSQL_PKGDIR)/mysqld.service \
                $(TARGET_DIR)/usr/lib/systemd/system/mysqld.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/mysqld.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mysqld.service
 endef
 
 else
index 858cd6975e8ecd2bdb4656abc87f499f267b22e7..7d8bef643bbc232974ac57a3c8e95f56b7fe32e6 100644 (file)
@@ -128,9 +128,6 @@ endef
 define POSTGRESQL_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/postgresql/postgresql.service \
                $(TARGET_DIR)/usr/lib/systemd/system/postgresql.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/postgresql.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/postgresql.service
 endef
 
 $(eval $(autotools-package))
index da1c07b410fd3405ced89683d73cf9705359f77d..2c3e0a6877f6c10f38cdef854cddd7ad00671941 100644 (file)
@@ -123,9 +123,6 @@ endef
 define PROFTPD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/proftpd/proftpd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/proftpd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/proftpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/proftpd.service
 endef
 
 ifneq ($(BR2_PACKAGE_PROFTPD_BUFFER_SIZE),0)
index 4a2e0de5ce1dfbccb22ea4a7378ff336da708e6c..3dd2f4d5797fa16b4a23d77dda8a2e96e8ddde0b 100644 (file)
@@ -13,15 +13,9 @@ PSPLASH_AUTORECONF = YES
 define PSPLASH_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/psplash/psplash-start.service \
                $(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
-       $(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
-       ln -sf  ../../../../usr/lib/systemd/system/psplash-start.service \
-               $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/
 
        $(INSTALL) -D -m 644 package/psplash/psplash-quit.service \
                $(TARGET_DIR)/usr/lib/systemd/system/psplash-quit.service
-       $(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf  ../../../../usr/lib/systemd/system/psplash-quit.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
 endef
 
 $(eval $(autotools-package))
index dad8ccfe10a553fb9f764165b9e49c8f75240a2c..49587231e052406ba71beda85627261139cf117a 100644 (file)
@@ -25,9 +25,6 @@ endef
 define PTPD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/ptpd/ptpd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/ptpd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/ptpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ptpd.service
 endef
 
 $(eval $(generic-package))
index f4a70760ad5f2918b6799b68348955a8cd7bd44b..0de336464d1dc67c3b0176fa71f77fce34ff1a70 100644 (file)
@@ -32,9 +32,6 @@ endef
 define PTPD2_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/ptpd2/ptpd2.service \
                $(TARGET_DIR)/usr/lib/systemd/system/ptpd2.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/ptpd2.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ptpd2.service
 endef
 
 $(eval $(autotools-package))
index b833d4ad273080298aa468cb74473f7ea833cf0a..0e787246346293b324da67de51595f103fa592f7 100644 (file)
@@ -167,9 +167,6 @@ endef
 define PULSEAUDIO_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/pulseaudio/pulseaudio.service \
                $(TARGET_DIR)/usr/lib/systemd/system/pulseaudio.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/pulseaudio.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/pulseaudio.service
 endef
 
 endif
index 0b86fb148e3c4d65b0c45440fd63ed66d393ef7b..8706c87968d47c5616d2113db874616f1ced2210 100644 (file)
@@ -57,9 +57,6 @@ endef
 define PYTHON_WEB2PY_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/python-web2py/web2py.service \
                $(TARGET_DIR)/usr/lib/systemd/system/web2py.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib//systemd/system/web2py.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/web2py.service
 endef
 
 # www-data user and group are used for web2py. Because these user and group
index 6df770793adec8c41e1bec93d0bfaec5e89450ad..f9c28e6677975b07f99d3706de2b58d1d3cf62a0 100644 (file)
@@ -36,11 +36,6 @@ endef
 define RABBITMQ_SERVER_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/rabbitmq-server/rabbitmq-server.service \
                $(TARGET_DIR)/usr/lib/systemd/system/rabbitmq-server.service
-
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-
-       ln -fs ../../../../usr/lib/systemd/system/rabbitmq-server.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rabbitmq-server.service
 endef
 
 define RABBITMQ_SERVER_INSTALL_INIT_SYSV
index 1729afe1659e1d39bbc53f9d7215fad3d3ea5dc8..b85de1dfeddcb55447e0f65c6c13dba468ecb297 100644 (file)
@@ -49,9 +49,6 @@ endef
 define REDIS_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/redis/redis.service \
                $(TARGET_DIR)/usr/lib/systemd/system/redis.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/redis.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/redis.service
 endef
 
 $(eval $(generic-package))
index c5f3051aead8a3ae2cbc8d17e82ef3e960ff47f8..274079044cc0840edd28e6345928ecff9be0fb12 100644 (file)
@@ -37,9 +37,6 @@ endef
 define RNG_TOOLS_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/rng-tools/rngd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/rngd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/rngd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rngd.service
 endef
 
 $(eval $(autotools-package))
index 46e5b27d3583fbc8c569136038a67146b5c2866e..cce84cfa886993fd1bdb9e1597abcc77670dd60b 100644 (file)
@@ -27,9 +27,6 @@ define RPCBIND_INSTALL_INIT_SYSTEMD
                $(TARGET_DIR)/usr/lib/systemd/system/rpcbind.service
        $(INSTALL) -m 0644 -D package/rpcbind/rpcbind.socket \
                $(TARGET_DIR)/usr/lib/systemd/system/rpcbind.socket
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/sockets.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/rpcbind.socket \
-               $(TARGET_DIR)/etc/systemd/system/sockets.target.wants/rpcbind.socket
 endef
 
 define RPCBIND_INSTALL_INIT_SYSV
index 1bf3ab4350601c7c1b5cf6f795ba61cf59e34b97..5ffb6a940025ad354b1df0d646f330c25d454c7d 100644 (file)
@@ -68,9 +68,6 @@ endef
 define RYGEL_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/rygel/rygel.service \
                $(TARGET_DIR)/usr/lib/systemd/system/rygel.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/rygel.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rygel.service
 endef
 
 $(eval $(autotools-package))
index 092123e1940b0781f029bace754ae9f91f668dfa..52e03da518a4807fc819c35de7131d96575e427c 100644 (file)
@@ -66,14 +66,8 @@ endef
 define SANE_BACKENDS_INSTALL_INIT_SYSTEMD
        $(INSTALL) -m 0644 -D package/sane-backends/saned.socket \
                $(TARGET_DIR)/usr/lib/systemd/system/saned.socket
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/socket.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/saned.socket \
-               $(TARGET_DIR)/etc/systemd/system/socket.target.wants/saned.socket
        $(INSTALL) -m 0644 -D package/sane-backends/saned@.service \
                $(TARGET_DIR)/usr/lib/systemd/system/saned@.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/saned@.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/saned@.service
 endef
 
 $(eval $(autotools-package))
index e99a9b18cee9ed162753514f24f2a4aca6091846..424f46a7c28196eb62c02ba7f252d3a9b32a53ea 100644 (file)
@@ -26,9 +26,6 @@ endef
 define SUPERVISOR_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/supervisor/supervisord.service \
                $(TARGET_DIR)/usr/lib/systemd/system/supervisord.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/supervisord.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/supervisord.service
 endef
 
 $(eval $(python-package))
index 56eb6a706f1787726cbe95af22c01b137dc5d4a3..7dc38d30cb2f8fe5d8cfbf244b1585005168db12 100644 (file)
@@ -132,9 +132,6 @@ endef
 define SURICATA_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/suricata/suricata.service \
                $(TARGET_DIR)/usr/lib/systemd/system/suricata.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/suricata.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/suricata.service
 endef
 
 $(eval $(autotools-package))
index 266c171170149aba0a9fbfae673f14d7c885c8db..1bd1ec51b51dbc8ef79f659a9681ad40a078ff0f 100644 (file)
@@ -30,11 +30,6 @@ define SYSKLOGD_INSTALL_INIT_SYSTEMD
                $(TARGET_DIR)/usr/lib/systemd/system/syslogd.service
        $(INSTALL) -D -m 644 $(SYSKLOGD_PKGDIR)/klogd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/klogd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/syslogd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/syslogd.service
-       ln -sf ../../../usr/lib/systemd/system/syslogd.service \
-               $(TARGET_DIR)/etc/systemd/system/syslog.service
 endef
 
 $(eval $(autotools-package))
index 5a0a991b1d4163978f2f33d68fa2bdc84e45f943..2b8a61b66fa4c04ffa80e9f8ec53605e94ff5e43 100644 (file)
@@ -24,9 +24,6 @@ TCF_AGENT_CONF_OPTS = \
 define TCF_AGENT_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/tcf-agent/tcf-agent.service \
                $(TARGET_DIR)/usr/lib/systemd/system/tcf-agent.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -fs ../../../../usr/lib/systemd/system/tcf-agent.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/tcf-agent.service
 endef
 
 define TCF_AGENT_INSTALL_INIT_SYSV
index 6cf86e4b95925afd822c36375d098de4d6d4b2c4..fe96f7df65e401335d7f8880bc5fa6b1347c2dd0 100644 (file)
@@ -36,9 +36,6 @@ endef
 define THTTPD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 0644 package/thttpd/thttpd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/thttpd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
-       ln -fs ../../../../usr/lib/systemd/system/thttpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/thttpd.service
 endef
 
 $(eval $(autotools-package))
index 9fad55378090a6acc66cf212d49952d97dc4d104..27285727762a8b798c3fd2cbfdf74a1ac917e775 100644 (file)
@@ -196,9 +196,6 @@ define TI_GFX_INSTALL_INIT_SYSTEMD
                $(TARGET_DIR)/usr/lib/systemd/scripts/ti-gfx
        $(INSTALL) -D -m 644 package/ti-gfx/ti-gfx.service \
                $(TARGET_DIR)/usr/lib/systemd/system/ti-gfx.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/ti-gfx.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ti-gfx.service
 endef
 
 define TI_GFX_INSTALL_TARGET_CMDS
index 058f6bd1868589c55993bea3498a1688fd232b41..6b3ba5f305d76d2d725d3b1a8c409d959a43fde9 100644 (file)
@@ -27,9 +27,6 @@ endef
 define TINYHTTPD_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/tinyhttpd/tinyhttpd.service \
                $(TARGET_DIR)/usr/lib/systemd/system/tinyhttpd.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/tinyhttpd.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/tinyhttpd.service
 endef
 
 $(eval $(generic-package))
index 7c4bf404765028dd25692faf5337986ff10ba11e..f83a5578048058933fce75541ac7284eecf9dd76 100644 (file)
@@ -41,9 +41,6 @@ endef
 define TRIGGERHAPPY_INSTALL_INIT_SYSTEMD
        $(INSTALL) -D -m 644 package/triggerhappy/triggerhappy.service \
                $(TARGET_DIR)/usr/lib/systemd/system/triggerhappy.service
-       mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-       ln -sf ../../../../usr/lib/systemd/system/triggerhappy.service \
-               $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/triggerhappy.service
 endef
 
 $(eval $(generic-package))