set executable bit on S60olsrd (fixes #184)
authorOliver Ertl <oliver@ertl-net.net>
Sat, 7 Jan 2006 01:09:31 +0000 (01:09 +0000)
committerOliver Ertl <oliver@ertl-net.net>
Sat, 7 Jan 2006 01:09:31 +0000 (01:09 +0000)
SVN-Revision: 2853

openwrt/package/olsrd/Makefile

index 15be9672862e8fb3dbaff34505b38bc38f94772b..0c427a32ed2013b24c8f8e16c03230a5d2193934 100644 (file)
@@ -65,7 +65,7 @@ $(IPKG_OLSRD):
        install -d -m0755 $(IDIR_OLSRD)/usr/sbin
        cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/olsrd $(IDIR_OLSRD)/usr/sbin/
        install -d -m0755 $(IDIR_OLSRD)/etc/init.d
-       cp -fpR ./files/olsrd.init $(IDIR_OLSRD)/etc/init.d/S60olsrd
+       install -m0755 ./files/olsrd.init $(IDIR_OLSRD)/etc/init.d/S60olsrd
        $(RSTRIP) $(IDIR_OLSRD)
        $(IPKG_BUILD) $(IDIR_OLSRD) $(PACKAGE_DIR)