aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/bin
Commit message (Collapse)AuthorAgeFilesLines
* ipcalc.sh CIDR notation Hi,Jo-Philipp Wich2011-05-181-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 SVN-Revision: 26930
* base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)Felix Fietkau2011-02-131-1/+1
| | | | SVN-Revision: 25528
* base-files: /usr/lib/common.awk is only used by /bin/ipcalc.sh, move the ↵Felix Fietkau2011-02-131-0/+21
| | | | | | code there SVN-Revision: 25495
* base-files, busybox: fix 22279, simplify code and get rid of awkJo-Philipp Wich2010-07-181-15/+6
| | | | SVN-Revision: 22282
* base-files & telnet: Fixed telnet starting even with root password when ↵Daniel Dickinson2010-07-181-2/+9
| | | | | | shadow passwords in use. SVN-Revision: 22279
* base-files: move firstboot to /sbinFelix Fietkau2009-09-271-125/+0
| | | | SVN-Revision: 17775
* base-files: ipcalc.sh: fix off-by-one in range-calculationJo-Philipp Wich2009-06-291-1/+1
| | | | SVN-Revision: 16619
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | SVN-Revision: 15242
* rename our /bin/login script to /bin/login.sh to avoid collisions with ↵Felix Fietkau2009-04-041-0/+0
| | | | | | busybox - we always use -l on telnetd anyway SVN-Revision: 15097
* make opkg the default package manager, disable busybox ipkg from building by ↵Travis Kemen2008-08-161-1/+1
| | | | | | default SVN-Revision: 12319
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-031-190/+0
| | | | SVN-Revision: 10367
* rename mini_fo mount point so as not to confuse usersMike Baker2007-07-111-1/+1
| | | | SVN-Revision: 7928
* more fixesFelix Fietkau2007-06-151-1/+1
| | | | SVN-Revision: 7639
* tweaks for 2M devicesMike Baker2007-05-101-1/+2
| | | | SVN-Revision: 7179
* unified preinit environmentMike Baker2007-05-101-4/+0
| | | | SVN-Revision: 7173
* fix uci commitFelix Fietkau2007-03-241-1/+1
| | | | SVN-Revision: 6665
* Move /sys on pivot_root tooEugene Konev2007-03-181-0/+1
| | | | SVN-Revision: 6603
* upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, ↵Felix Fietkau2007-03-171-0/+0
| | | | | | rename /bin/ipcalc to /bin/ipcalc.sh (fixes #1452) SVN-Revision: 6595
* Add an 'Image Configuration' menu to menuconfig Packages can export a list ↵Felix Fietkau2007-03-161-1/+2
| | | | | | 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. SVN-Revision: 6572
* make squashfs overlay support more generic and integrate it for x86-2.6Felix Fietkau2007-03-021-0/+128
| | | | SVN-Revision: 6450
* Integrate basic UCI config file validation support Needs more testing and ↵Felix Fietkau2007-02-261-6/+17
| | | | | | | | validation is not enforced yet Code contributed by Fraunhofer Fokus SVN-Revision: 6391
* rename default/ to files/Felix Fietkau2006-11-223-0/+228
SVN-Revision: 5622