summaryrefslogtreecommitdiffstats
path: root/package/base-files/files
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files: assume a default ipv6 prefix size of /64, thats what ↵jow2011-06-091-1/+1
| | | | | | the majority of users mean when they just specify an ip address git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: if an ip6addr without a prefix is given, assume /128 - ↵jow2011-06-091-0/+5
| | | | | | otherwise the busybox utilities will interpret it as /0 and create an invalid default route git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix error reporting for unsupported protocols on ↵jow2011-06-072-3/+3
| | | | | | virtual interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: do not write to /etc/config/wireless at boot time unless a new ↵nbd2011-06-071-3/+6
| | | | | | | | | | interface was found eliminates unnecessary flash write cycles at every boot patch by Peter Wagner (tripolar) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: make the MAC address of bridge interfaces sticky to avoid ARP ↵nbd2011-05-241-1/+2
| | | | | | issues on wifi re-configuration git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [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
* [package] base-files: retrigger usb coldplug after module loading, solves ↵jow2011-05-081-0/+5
| | | | | | usb_modeswitch on boot and possibly others (#9352) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: fix a typo in etc/bannerjuhosg2011-05-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: cleanup permissions of device files in common hotplug ↵jow2011-05-031-6/+15
| | | | | | rules (#9211) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Use -h instead of deprecated -L for symlink checkacinonyx2011-04-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix minor problem in init.d/bootacinonyx2011-04-051-1/+1
| | | | | | | | | The script tests for the existance of /dev/root with test -e which fails if /dev/root is a dangling symlink making the call to ln fail. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] block-mount base-files: Added additional check to pi_include to ↵cshore2011-04-051-6/+10
| | | | | | ensure that a directory used with pi_include actually contains files matching the souring pattern because if not the shell dies due to an empty string in for statement. Added /lib/functions/fsck as an empty dir to block-mount. This combination fixes a warning which generates a lot of bug reports, without panicking the kernel like the last attempt. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: bridge config, avoid having a random ipv6 ll addressnbd2011-04-031-1/+1
| | | | | | | | | | | | | | | | | | So far, we are setting the bridge interface up before having added any bridge interface ports. This results in the bridge assigning a random mac address to its bridge interface and therefore IPv6 assigning a matching link local address to the bridge interface as soon as the bridge interface is up. After adding the first bridge port interface, the bridge's mac address is reset correctly, however the IPv6 link local address stays the same. This commit ensures that we are at least having the IPv6 link local address of the first interface added to the bridge instead of a random one. Signed-off-by: Linus Lüssing <linus.luessing@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26426 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: properly handle vlans on top of wireless interfacesjow2011-03-181-7/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: overlayfs whiteouts depend on a specific xattr entry, which does ↵nbd2011-03-171-0/+12
| | | | | | not get preserved by the tmpfs->overlay copy. work around this by cleaning all copied "(overlay-whiteout)" symlinks after the switch to jffs2 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add initial support for mounting overlayfsnbd2011-03-173-7/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: update sysctl.conf for modern kernelsjow2011-03-171-1/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Autodetect newly added wireless hardwareacinonyx2011-03-151-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add a default /etc/services filesnbd2011-03-131-0/+170
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add users ftp (for ftp servers), network (network related ↵nbd2011-03-131-0/+2
| | | | | | daemons such as tor, quagga, ...) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add an ftp group as wellnbd2011-03-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add a few default groups to /etc/group so that we can get rid of ↵nbd2011-03-131-0/+7
| | | | | | a few postinst scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix sysctl handling, do not react on fake ifaces in ↵jow2011-02-251-2/+5
| | | | | | route hotplug handler git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()mb2011-02-201-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: Add "-o noatime" to mount wrappermb2011-02-201-1/+1
| | | | | | | | noatime is cheaper than default relatime. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix whitespacemb2011-02-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25632 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
* it's time for some attitude adjustment ;)kaloz2011-02-131-5/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: /usr/lib/common.awk is only used by /bin/ipcalc.sh, move the ↵nbd2011-02-132-26/+21
| | | | | | code there git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: remove ptbtime3 rdate server, its deadjow2011-02-121-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: update rdate server listjow2011-02-121-9/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-file: cleanup ipv6 enabling in unbridgejow2011-02-121-3/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:jow2011-02-112-5/+29
| | | | | | | | | - properly disable IPv6 on bridge ports - introduce accept_ra option, defaults to true for dhcp interfaces, false for others - introduce send_rs option, defaults to true for static interfaces, false for others git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: derive lease_acquired dhcp state var from /proc/uptimejow2011-02-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Add include for target specific hotplug rulesacinonyx2011-02-071-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2 rules: Run /etc/hotplug.d/firmware/ scripts (if any) on firmware ↵mb2011-02-061-0/+1
| | | | | | load events git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25383 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: don't stop hotplug events for ppp interfaces, similar ↵jow2011-02-031-1/+0
| | | | | | fix like the earlier one for tun/tap interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: make the skipping of ppp interfaces in 10-net hotplug ↵jow2011-02-031-1/+1
| | | | | | more explicit, this allows users to rely on hotplug events for ppp0 .. ppp9 interfaces spawned by other programs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Fix alsa raw audio device hotplug ruleacinonyx2011-02-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Use stricter matching for rule regular expressionsacinonyx2011-02-012-8/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Remove deprecated hotplug2 commands, update old ↵acinonyx2011-01-311-15/+5
| | | | | | commands to new git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix a typo in processing of additional dhcp request optsjow2011-01-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix handling of dhcp "reqopts" optionjow2011-01-291-4/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: support port_state in led config (#6763)florian2011-01-271-0/+4
| | | | | | Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: add get_magic_long() to common upgrade scriptjuhosg2011-01-261-0/+4
| | | | | | Patch-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: implement "reqopts" parameter for dhcp interfaces to ↵jow2010-12-221-1/+3
| | | | | | specify additional dhcp options to request git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: the busybox update to v1.15.3 completely broke udhcpc ↵jow2010-12-221-73/+14
| | | | | | route option handling, repair default.script to work with the new format (#6435) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package]Âbase-files: don't mark /etc/banner as conffilejow2010-12-201-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24742 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add support for the usbdev LED triggerjuhosg2010-12-171-4/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: use shutdown instead of stop when the system goes down (patch by ↵nbd2010-12-132-2/+2
| | | | | | tripolar) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24540 3c298f89-4303-0410-b956-a3cf2f4a3e73