aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/bin
Commit message (Collapse)AuthorAgeFilesLines
* base-files: ipcalc.sh: support bit length as netmask parameterJo-Philipp Wich2013-12-161-1/+5
| | | | SVN-Revision: 39100
* base-files: fix whitespacesLuka Perkov2013-12-091-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39006
* base-files: ipcalc.sh: fix broken calculations on 64bit systemsJo-Philipp Wich2012-12-231-5/+10
| | | | | | | | Calculate complements by using awk's xor() function with a mask of 0xffffffff instead of relying on the compl() function which appears to produce broken results on certain 64bit architectures. SVN-Revision: 34875
* base-files: another empty password check fix (#10440)Jo-Philipp Wich2011-11-171-1/+1
| | | | SVN-Revision: 29208
* base-files: prime root password with "x" to notify programs that there is a ↵Jo-Philipp Wich2011-11-141-1/+4
| | | | | | shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935. SVN-Revision: 29130
* base-files: now that the initial password is completely empty (and not ↵Jo-Philipp Wich2011-11-111-2/+2
| | | | | | primed with "!") adjust login.sh for it to make telnetd available again SVN-Revision: 28943
* 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