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 498d695..70c37d3 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