Fix postinstallation script errors
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Apr 2007 11:57:33 +0000 (11:57 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Apr 2007 11:57:33 +0000 (11:57 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6914 3c298f89-4303-0410-b956-a3cf2f4a3e73

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