summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* base-file: cleanup ipv6 enabling in unbridgeJo-Philipp Wich2011-02-121-3/+1
| | | | SVN-Revision: 25473
* base-files: - properly disable IPv6 on bridge ports - introduce accept_ra ↵Jo-Philipp Wich2011-02-111-5/+2
| | | | | | option, defaults to true for dhcp interfaces, false for others - introduce send_rs option, defaults to true for static interfaces, false for others SVN-Revision: 25454
* base-files: fix a typo in processing of additional dhcp request optsJo-Philipp Wich2011-01-291-1/+1
| | | | SVN-Revision: 25239
* base-files: fix handling of dhcp "reqopts" optionJo-Philipp Wich2011-01-291-4/+8
| | | | SVN-Revision: 25237
* package/base-files: add get_magic_long() to common upgrade scriptGabor Juhos2011-01-261-0/+4
| | | | | | Patch-by: Mark Mentovai <mark@moxienet.com> SVN-Revision: 25117
* base-files: implement "reqopts" parameter for dhcp interfaces to specify ↵Jo-Philipp Wich2010-12-221-1/+3
| | | | | | additional dhcp options to request SVN-Revision: 24780
* Âbase-files: don't mark /etc/banner as conffileJo-Philipp Wich2010-12-201-1/+0
| | | | SVN-Revision: 24742
* base-files: disable ipv6 on bridge ports, this prevents stray RA assigned ↵Jo-Philipp Wich2010-11-301-8/+13
| | | | | | and link local addresses on bridge member devices SVN-Revision: 24194
* base-file: add metric option for static and dhcp protos, this simplifies the ↵Jo-Philipp Wich2010-11-171-3/+4
| | | | | | management of multiple default routes SVN-Revision: 24020
* base-files: change /dev permissions to 0755 when hotplug2 is used (#6039)Jo-Philipp Wich2010-11-071-1/+1
| | | | SVN-Revision: 23908
* Fix permissions for /etc and other dirs after clean flash (#6039)Jo-Philipp Wich2010-11-071-1/+1
| | | | | | | | | | | | | | | During the first OpenWrt boot after a clean flash (when the jffs2 partition is not yet initialized) tmpfs is used instead of the usual jffs2 overlay filesystem. If this tmpfs is mounted with default options, all directories created there (/etc, /etc/config, other subdirectories in /etc) get permissions 1777 by default, and these permissions then persist in the created jffs2 at least until subsequent sysupgrade. Mounting tmpfs with mode=0755 fixes the permission problem. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> SVN-Revision: 23906
* base-files: add udhcpc vendorid option (#7744)Jo-Philipp Wich2010-10-061-1/+3
| | | | SVN-Revision: 23279
* base-files: - add sysupgrade support for keepfile hints * introduces ↵Jo-Philipp Wich2010-10-051-0/+10
| | | | | | /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles SVN-Revision: 23258
* base-files: prevent possible sourcing of JFFS2 meta files when merging ↵Jo-Philipp Wich2010-09-231-1/+1
| | | | | | overlay hooks SVN-Revision: 23114
* Fixed duplicated content in file in commit 23111Daniel Dickinson2010-09-231-24/+0
| | | | SVN-Revision: 23112
* Missed file committing previous change 23110Daniel Dickinson2010-09-231-0/+48
| | | | SVN-Revision: 23111
* base/block-extroot, base/block-mount: Modified preinit and block-extroot and ↵Daniel Dickinson2010-09-231-21/+56
| | | | | | | | block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done. Thanks jow for the preinit merge stuff! SVN-Revision: 23110
* base-files: Add function pi_include the /lib/functions/boot.sh used by ↵Daniel Dickinson2010-09-191-0/+13
| | | | | | preinit, which safely sources files as well as working correctly whether the script using it is a package added to the jffs2 part of a squashfs or built into an image or on some other root filesystem. SVN-Revision: 23099
* base-files: kill possibly existing udhcpc instance when bringing up a dhcp ↵Jo-Philipp Wich2010-09-191-39/+26
| | | | | | iface, utilize service_kill() in dhcp shutdown. Based on patch by Stijn Tintel. Possibly related to #7314 SVN-Revision: 23092
* base-files: r22444 caused interfaces to remain down if the macaddr option is ↵Jo-Philipp Wich2010-08-021-2/+2
| | | | | | used, fix it. Also localize the txqueuelen option variable SVN-Revision: 22467
* add txqueuelen option, patch from Roberto RiggioFlorian Fainelli2010-07-311-1/+2
| | | | SVN-Revision: 22444
* base-files: localize variable in do_move_devtmpfs(), remove extra temporary ↵Jo-Philipp Wich2010-07-241-6/+3
| | | | | | variable and shorten conditional SVN-Revision: 22380
* package/base-files: add support for devtmpfs (thank you rauchwolke at gmx.net)Alexandros C. Couloumbis2010-07-241-1/+13
| | | | SVN-Revision: 22379
* base-files: unconditionally unlock the rootfs_data partition (#7437)Jo-Philipp Wich2010-07-241-0/+1
| | | | SVN-Revision: 22377
* base-files: introduce option "broadcast" for proto=dhcp interface to enable ↵Jo-Philipp Wich2010-06-021-2/+11
| | | | | | the broadcast flag in DHCP requests, required by certain providers SVN-Revision: 21661
* base-files: remove IPv6 LL addr from interfaces before adding them to a bridgeJo-Philipp Wich2010-06-021-0/+9
| | | | SVN-Revision: 21659
* base-files: - add aliases to device by default (not ifname) - introduce ↵Jo-Philipp Wich2010-06-021-3/+22
| | | | | | option "layer" to select the target ifname to attach the alias to: - 3 use tun device (tun over bridge over device) fallback to bridge or device - 2 use bridge (bridge over device) fallback to device - 1 use device SVN-Revision: 21655
* base-file: move alias setup to route hotplug, this fixes alias sections for ↵Jo-Philipp Wich2010-06-011-36/+16
| | | | | | non-static interfaces like ppp, dhcp, 6in4 etc. SVN-Revision: 21652
* base-files: - use add_dns() and remove_dns() for when changing ↵Jo-Philipp Wich2010-05-301-15/+28
| | | | | | resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision SVN-Revision: 21638
* base-files: revert r21595Jo-Philipp Wich2010-05-281-2/+0
| | | | SVN-Revision: 21597
* base-files: bring bridge port iface down before changing the mac (#7111)Jo-Philipp Wich2010-05-281-0/+2
| | | | SVN-Revision: 21595
* when changing the mac address of a bridge interface, keep member interface ↵Felix Fietkau2010-05-271-1/+3
| | | | | | addresses in sync (patch from #7111) SVN-Revision: 21577
* base-files: fix a preinit hang in jffs2_ready() when no rootfs_data ↵Jo-Philipp Wich2010-05-201-0/+1
| | | | | | partition is found (#7362) SVN-Revision: 21511
* base-files: add add_dns() and remove_dns() helpers to network config, useful ↵Jo-Philipp Wich2010-05-071-0/+29
| | | | | | to merge dns entries from multiple interfaces SVN-Revision: 21391
* base-files, ppp: fix interface shutdownJo-Philipp Wich2010-05-061-3/+3
| | | | SVN-Revision: 21386
* base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and ↵Jo-Philipp Wich2010-05-051-5/+22
| | | | | | move it to protocol stop callbacks SVN-Revision: 21383
* base-files: make press key message more explicit in preinitJo-Philipp Wich2010-03-231-1/+1
| | | | SVN-Revision: 20392
* change from /jffs to /overlay, patch from Daniel DickinsonFlorian Fainelli2010-03-2110-17/+18
| | | | SVN-Revision: 20356
* fix error output of brctl if bridging is not supported.Felix Fietkau2010-03-141-1/+1
| | | | | | | | | | | | The following error is displayed during network configuration on any device that has DEVICE_TYPE set to something else then router, or has brctl functionality disabled through some other method: "brctl: SIOCGIFBR: Package not installed" This is due to the unbridge function being called, which uses "brctl show" to determine if the interface is bridged. Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl> SVN-Revision: 20218
* base-files: force preinit to use busybox mount (#6797)Jo-Philipp Wich2010-03-131-0/+4
| | | | SVN-Revision: 20176
* package/base-files: call preinit_ip_deconfig before processing init on ↵Gabor Juhos2010-03-121-0/+1
| | | | | | initramfs images SVN-Revision: 20159
* base-files: fix preinit code typosNicolas Thill2010-03-101-1/+1
| | | | | | | Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl> Acked-by: Daniel Dickinson <cshore@csolve.net> SVN-Revision: 20124
* firstboot: fix typo (closes: #6738)Nicolas Thill2010-03-011-1/+1
| | | | SVN-Revision: 19944
* base-files: fix enter failsafe messageFelix Fietkau2010-03-011-1/+0
| | | | SVN-Revision: 19937
* add block-extroot, a package for using an external filesystem as rootfs ↵Felix Fietkau2010-02-261-0/+1
| | | | | | (patch by cshore) SVN-Revision: 19880
* base-files: revert dhcp state information on ifdown and restore pre-r19530 ↵Jo-Philipp Wich2010-02-121-0/+5
| | | | | | behaviour in udhcp default.script SVN-Revision: 19597
* base-file: revert unrelated change accidentally committed in r19478Jo-Philipp Wich2010-02-011-4/+0
| | | | SVN-Revision: 19488
* base-files: preinit: get rid of /dev/null redirections and use grep -q where ↵Jo-Philipp Wich2010-02-015-6/+10
| | | | | | applicable SVN-Revision: 19478
* quieten the check for devs, thanks nbdFlorian Fainelli2010-01-311-1/+1
| | | | SVN-Revision: 19473
* /dev/null was used before it was created, so an empty file was created. This ↵Florian Fainelli2010-01-311-1/+1
| | | | | | prevented the actual device node from being created. The attached patch fixes that, patch from cshore SVN-Revision: 19472