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 78124375f460ca734d2ea4b5cea2f1d16558510a..afe9e1a574835c671c2546934beb57884da81372 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))