Fix postinstallation script errors
authorFlorian Fainelli <florian@openwrt.org>
Mon, 9 Apr 2007 11:57:33 +0000 (11:57 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 9 Apr 2007 11:57:33 +0000 (11:57 +0000)
SVN-Revision: 6914

net/ntpd/Makefile

index 498d695f7a66f7d2ad07e6c7ecece732c4754f20..70c37d3e962d99e3aef15d8dcb89031dabaa93d3 100644 (file)
@@ -38,7 +38,7 @@ endef
 define Package/ntpd/postinst
 #!/bin/sh
 echo "ntp             123/udp     # Network Time Protocol
-ntp             123/tcp     # Network Time Protocol" >> /etc/services
+ntp             123/tcp     # Network Time Protocol" >> $${IPKG_INSTROOT}/etc/services
 endef
 
 define Build/Configure