More iptraf fixes
authorFlorian Fainelli <florian@openwrt.org>
Wed, 15 Nov 2006 20:06:00 +0000 (20:06 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 15 Nov 2006 20:06:00 +0000 (20:06 +0000)
SVN-Revision: 5539

net/iptraf/Makefile

index 7812437..afe9e1a 100644 (file)
@@ -51,6 +51,9 @@ endef
 define Package/iptraf/install  
        install -d -m0755 $(1)/usr/bin
        install -m0755 $(PKG_BUILD_DIR)/src/iptraf $(1)/usr/bin/
+       install -d -m0755 $(1)/var/lib/iptraf/
+       echo "$(PKG_VERSION)" > $(1)/var/lib/iptraf/version
+       install -d -m0755 $(1)/var/log/iptraf $(1)/var/run/iptraf
 endef
 
 $(eval $(call BuildPackage,iptraf))