From 4ab4dc8ed81fbcbe398e9d142096e1876b11a7c0 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 17 Mar 2007 13:31:13 +0000 Subject: upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, rename /bin/ipcalc to /bin/ipcalc.sh (fixes #1452) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6595 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/bin/ipcalc | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100755 package/base-files/files/bin/ipcalc (limited to 'package/base-files/files/bin/ipcalc') diff --git a/package/base-files/files/bin/ipcalc b/package/base-files/files/bin/ipcalc deleted file mode 100755 index e8efa6b96..000000000 --- a/package/base-files/files/bin/ipcalc +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -awk -f /usr/lib/common.awk -f - $* <limit) end=limit - - print "IP="int2ip(ipaddr) - print "NETMASK="int2ip(netmask) - print "BROADCAST="int2ip(broadcast) - print "NETWORK="int2ip(network) - print "PREFIX="32-bitcount(compl(netmask)) - - # range calculations: - # ipcalc - - if (ARGC > 3) { - print "START="int2ip(start) - print "END="int2ip(end-1) - } -} -EOF -- cgit v1.2.3