aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
Commit message (Collapse)AuthorAgeFilesLines
...
* [package] base-files: use "zonename" system option to symlink /etc/localtime ↵Jo-Philipp Wich2011-09-261-0/+3
| | | | | | via /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: apply network interface settings such as macaddr, mtu and ↵Felix Fietkau2011-09-241-15/+9
| | | | | | txqueuelen in prepare_interface instead of setup_interface. setting the mtu after the interface is up is unreliable on some drivers such as gianfar git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28297 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: make ip matching in dns add/remove functions more ↵Jo-Philipp Wich2011-09-231-2/+2
| | | | | | explicit, avoids overmatching pairs like 1.2.3.35 and 1.2.3.3 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Fix IPv6 address and route adding on aliases with no ↵Vasilis Tsiligiannis2011-09-141-2/+2
| | | | | | IPv4 address configured git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "[package] base-files: Add support for assigning multiple IPv6 ↵Vasilis Tsiligiannis2011-09-141-9/+8
| | | | | | | | addresses on an interface" Multiple IPv6 addresses should be handled with alias sections git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Add support for assigning multiple IPv6 addresses on ↵Vasilis Tsiligiannis2011-09-121-8/+9
| | | | | | an interface git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove an old network tunable tweak which is messing up network ↵Felix Fietkau2011-08-291-1/+0
| | | | | | stack performance on modern systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix arp() procedure to properly detect /usr/bin/arpJo-Philipp Wich2011-08-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: warn when calling /etc/init.d/<script> enable and neither START ↵Felix Fietkau2011-07-271-0/+4
| | | | | | nor STOP is defined git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27797 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: use "reboot -f" after sysupgrade to prevent executing ↵Jo-Philipp Wich2011-07-251-1/+1
| | | | | | deleted init scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: attempt bring up related wifi devices when calling ifupJo-Philipp Wich2011-07-222-16/+48
| | | | | | | | | | | | | | | | | | | | | If a user invoked /sbin/ifup to bring up an interface, the setup used to fail in case of wireless networks tied to a non-bridged interface definition. Likewise, the bringup of "lan" in the default configuration will reinitialize the bridge but do not re-join the wireless network to it, requiring an extra call to /sbin/wifi (which might not be possible anymore due to a severed link if connected wirelessly). The changeset modifies the "ifup" command to search for related wireless devices and call "wifi up" on them if applicable. This way the commands for wireless and non-wireless interfaces are unified from a cli point of view. The "ifup -a" case has not been changed to keep the logic of the /etc/init.d/network boot sequence. This might be changed later. Solves #9763. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: implement a generic mechanism to map per-interface ↵Jo-Philipp Wich2011-07-171-0/+20
| | | | | | | | | | | | sysctls to uci. - option ipv4_xyz is mapped to /proc/sys/net/ipv4/{conf,neigh}/xyz - option ipv6_xyz is mapped to /proc/sys/net/ipv6/{conf,neigh}/xyz This allows e.g. "option ipv6_proxy_ndp 1" to enable NDP proxying on wan. Fixes ticket #8699. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add -h and --help options to sysupgrade (#9728)Jo-Philipp Wich2011-07-171-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: use uci_toggle_state() to prevent unwanted aggregation ↵Jo-Philipp Wich2011-07-153-9/+9
| | | | | | of state vars (#9711) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. ↵Daniel Dickinson2011-07-072-1/+7
| | | | | | This caused errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout. Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: pass conloglevel to syslogd (#9463, #9647)Jo-Philipp Wich2011-07-031-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: assume a default ipv6 prefix size of /64, thats what ↵Jo-Philipp Wich2011-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 - ↵Jo-Philipp Wich2011-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 ↵Jo-Philipp Wich2011-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 ↵Felix Fietkau2011-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 ↵Felix Fietkau2011-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 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
* [package] base-files: retrigger usb coldplug after module loading, solves ↵Jo-Philipp Wich2011-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/bannerGabor Juhos2011-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 ↵Jo-Philipp Wich2011-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 checkVasilis Tsiligiannis2011-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/bootVasilis Tsiligiannis2011-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 ↵Daniel Dickinson2011-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 addressFelix Fietkau2011-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 interfacesJo-Philipp Wich2011-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 ↵Felix Fietkau2011-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 overlayfsFelix Fietkau2011-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 kernelsJo-Philipp Wich2011-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 hardwareVasilis Tsiligiannis2011-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 filesFelix Fietkau2011-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 ↵Felix Fietkau2011-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 wellFelix Fietkau2011-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 ↵Felix Fietkau2011-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 ↵Jo-Philipp Wich2011-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()Michael Büsch2011-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 wrapperMichael Büsch2011-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 whitespaceMichael Büsch2011-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)Felix Fietkau2011-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 ;)Imre 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 ↵Felix Fietkau2011-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 deadJo-Philipp Wich2011-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 listJo-Philipp Wich2011-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 unbridgeJo-Philipp Wich2011-02-121-3/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:Jo-Philipp Wich2011-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/uptimeJo-Philipp Wich2011-02-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25452 3c298f89-4303-0410-b956-a3cf2f4a3e73