aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: another empty password check fix (#10440)Jo-Philipp Wich2011-11-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: prime root password with "x" to notify programs that ↵Jo-Philipp Wich2011-11-141-1/+4
| | | | | | | | | there is a shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: now that the initial password is completely empty (and ↵Jo-Philipp Wich2011-11-111-2/+2
| | | | | | not primed with "!") adjust login.sh for it to make telnetd available again git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] ipcalc.sh CIDR notationJo-Philipp Wich2011-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)Felix Fietkau2011-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 ↵Felix Fietkau2011-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 awkJo-Philipp Wich2010-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 ↵Daniel Dickinson2010-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 /sbinFelix Fietkau2009-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-calculationJo-Philipp Wich2009-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 ;)Felix Fietkau2009-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 ↵Felix Fietkau2009-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 ↵Travis Kemen2008-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 :)Felix Fietkau2008-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 usersMike Baker2007-07-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more fixesFelix Fietkau2007-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tweaks for 2M devicesMike Baker2007-05-101-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* unified preinit environmentMike Baker2007-05-101-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix uci commitFelix Fietkau2007-03-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Move /sys on pivot_root tooEugene Konev2007-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, ↵Felix Fietkau2007-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 menuconfigFelix Fietkau2007-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.6Felix Fietkau2007-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 supportFelix Fietkau2007-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/Felix Fietkau2006-11-223-0/+228
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73