ln -sf
[openwrt/staging/mkresin.git] / openwrt / package / wondershaper / Makefile
index b4cea597777f7fb9d4fe6636604bd412c84b2426..af441388b1dc735e55fd93bfba8d233d9938b5e4 100644 (file)
@@ -30,6 +30,6 @@ $(IPKG_WONDERSHAPER):
        install -d -m0755 $(IDIR_WONDERSHAPER)/etc/init.d
        cp -fpR $(PKG_BUILD_DIR)/wshaper.htb $(IDIR_WONDERSHAPER)/usr/sbin/wshaper
        cp -fpR $(PKG_BUILD_DIR)/wshaper.conf $(IDIR_WONDERSHAPER)/etc/wshaper.conf
-       ln -s /usr/sbin/wshaper $(IDIR_WONDERSHAPER)/etc/init.d/S60wondershaper
+       ln -fs /usr/sbin/wshaper $(IDIR_WONDERSHAPER)/etc/init.d/S60wondershaper
        $(IPKG_BUILD) $(IDIR_WONDERSHAPER) $(PACKAGE_DIR)