summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/bin
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] ipcalc.sh CIDR notationjow2011-05-181-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, the attached patch makes ipcalc.sh accept IP/Netmask combinations in CIDR notation. Before you could only do: # sh ipcalc.sh 192.168.0.0 255.255.255.0 1 10 IP=192.168.0.0 NETMASK=255.255.255.0 BROADCAST=192.168.0.255 NETWORK=192.168.0.0 PREFIX=24 START=192.168.0.1 END=192.168.0.11 with this patch you can also execute it with: sh ipcalc.sh 192.168.0.0/24 1 10 IP=192.168.0.0 NETMASK=255.255.255.0 BROADCAST=192.168.0.255 NETWORK=192.168.0.0 PREFIX=24 START=192.168.0.1 END=192.168.0.11 The patch is based on #1260 [1], i just changed one line to calculate the START end END ips right. I wonder why that never got included. If there is no reason not to do i would like to ask you to commit that patch, because its a functionality i (and probably others) miss quite often. Btw, i also fixed 4 useless tabs, that might look a bit strange in the patch. Regards, Manuel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)nbd2011-02-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: /usr/lib/common.awk is only used by /bin/ipcalc.sh, move the ↵nbd2011-02-131-0/+21
| | | | | | code there git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files, busybox: fix 22279, simplify code and get rid of awkjow2010-07-181-15/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files & telnet: Fixed telnet starting even with root password ↵cshore2010-07-181-2/+9
| | | | | | when shadow passwords in use. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: move firstboot to /sbinnbd2009-09-271-125/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17775 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: ipcalc.sh: fix off-by-one in range-calculationjow2009-06-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename our /bin/login script to /bin/login.sh to avoid collisions with ↵nbd2009-04-041-0/+0
| | | | | | busybox - we always use -l on telnetd anyway git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make opkg the default package manager, disable busybox ipkg from building by ↵thepeople2008-08-161-1/+1
| | | | | | default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)nbd2008-02-031-190/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename mini_fo mount point so as not to confuse usersmbm2007-07-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more fixesnbd2007-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tweaks for 2M devicesmbm2007-05-101-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* unified preinit environmentmbm2007-05-101-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix uci commitnbd2007-03-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Move /sys on pivot_root tooejka2007-03-181-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, ↵nbd2007-03-171-0/+0
| | | | | | rename /bin/ipcalc to /bin/ipcalc.sh (fixes #1452) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add an 'Image Configuration' menu to menuconfignbd2007-03-161-1/+2
| | | | | | | | | Packages can export a list of config options with labels and data types through the metadata. The selected config values will be exported to the target filesystem in /etc/uci-defaults and applied on the first boot. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make squashfs overlay support more generic and integrate it for x86-2.6nbd2007-03-021-0/+128
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Integrate basic UCI config file validation supportnbd2007-02-261-6/+17
| | | | | | | | | Needs more testing and validation is not enforced yet Code contributed by Fraunhofer Fokus git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename default/ to files/nbd2006-11-223-0/+228
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73