aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
Commit message (Collapse)AuthorAgeFilesLines
* base-files: use shutdown instead of stop when the system goes down (patch by ↵Felix Fietkau2010-12-132-2/+2
| | | | | | tripolar) SVN-Revision: 24540
* adds a --help option to /sbin/wifiFlorian Fainelli2010-12-052-1/+10
| | | | | | Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de> SVN-Revision: 24258
* base-files: derive connect_time from uptime as local system time may warp ↵Jo-Philipp Wich2010-12-011-1/+1
| | | | | | due to rdate, ntp and other means SVN-Revision: 24212
* base-files: save the connect time of interfaces in uci stateJo-Philipp Wich2010-12-011-0/+1
| | | | SVN-Revision: 24206
* 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-173-5/+8
| | | | | | management of multiple default routes SVN-Revision: 24020
* base-files: mark libc as hold and essential, opkg should now bail out if ↵Jo-Philipp Wich2010-11-111-0/+1
| | | | | | someone tries to uninstall libc SVN-Revision: 23960
* 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: mark /etc/shadow as conffileJo-Philipp Wich2010-10-231-0/+1
| | | | SVN-Revision: 23590
* base-files: add udhcpc vendorid option (#7744)Jo-Philipp Wich2010-10-062-2/+4
| | | | SVN-Revision: 23279
* base-files: mark /etc/sysupgrade.conf as conffileJo-Philipp Wich2010-10-051-0/+1
| | | | SVN-Revision: 23264
* base-files: - add sysupgrade support for keepfile hints * introduces ↵Jo-Philipp Wich2010-10-054-3/+21
| | | | | | /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: sysupgrade: merge info from "opkg list-changed-conffiles" to ↵Jo-Philipp Wich2010-10-052-3/+4
| | | | | | backup file list SVN-Revision: 23233
* base-files: mark /etc/rc.local as conffileJo-Philipp Wich2010-10-051-0/+1
| | | | SVN-Revision: 23232
* base-files: utilize uci_get_state to read the previous dhcp router address ↵Jo-Philipp Wich2010-10-042-3/+3
| | | | | | in udhcpc default script. The setup_switch() procedure provided by swconfig calls config_load() during network restart and thus confuses udhcpc's uci state keeping resulting in a missing default route on each second network restart. Bypass the cached state vars and query uci directly to make the script immune against unwanted runtime changes. SVN-Revision: 23211
* 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-233-27/+83
| | | | | | | | 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: bump pkg revision after r23091, r23092Jo-Philipp Wich2010-09-191-1/+1
| | | | SVN-Revision: 23093
* 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: cached state vars after scan_interfaces might be out of sync ↵Jo-Philipp Wich2010-09-191-3/+3
| | | | | | when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state SVN-Revision: 23091
* base-files: introduce service_kill() into functions.sh - a convenience ↵Jo-Philipp Wich2010-09-192-1/+18
| | | | | | wrapper for killing services by pid or pidfile with a grace period for termination before kill SVN-Revision: 23087
* base-files: add an experimental "-c" flag which tries to preserve *all* ↵Jo-Philipp Wich2010-09-072-3/+20
| | | | | | changed files in /overlay/etc minus some system files SVN-Revision: 22977
* base-files: make build dependant on opkg/hostJo-Philipp Wich2010-09-061-0/+1
| | | | SVN-Revision: 22948
* toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and ↵Felix Fietkau2010-08-191-8/+8
| | | | | | moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK SVN-Revision: 22723
* base-files, uci: properly revert list state on config_load This fixes a bug ↵Jo-Philipp Wich2010-08-142-1/+2
| | | | | | where lists end up with duplicate values if config_load was invoked multiple times. SVN-Revision: 22629
* base_files: Remove . from end of localhost entryHamish Guthrie2010-08-061-1/+1
| | | | SVN-Revision: 22508
* 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-242-1/+2
| | | | SVN-Revision: 22377
* 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
* wifi: fix duplicate ht capabilities in the hostapd config file by clearing ↵Felix Fietkau2010-07-081-4/+13
| | | | | | the list at config load time SVN-Revision: 22099
* base-files: add "mtu" option for route sections, allows setting per-route ↵Jo-Philipp Wich2010-06-302-3/+7
| | | | | | mtu values SVN-Revision: 22003
* base-files: enable IPv6 forwarding by default since the default firewall ↵Jo-Philipp Wich2010-06-122-2/+2
| | | | | | supports ip6tables now SVN-Revision: 21766
* 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-022-4/+24
| | | | | | 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-013-37/+45
| | | | | | non-static interfaces like ppp, dhcp, 6in4 etc. SVN-Revision: 21652
* base-files: don't skip subsequent hotplug rules when doing makedev for tun ↵Jo-Philipp Wich2010-05-311-1/+0
| | | | | | or tap interfaces - this fixes support for uci managed OpenVPN interfaces and other externally created tuntap devices SVN-Revision: 21641
* base-files: - use add_dns() and remove_dns() for when changing ↵Jo-Philipp Wich2010-05-304-27/+43
| | | | | | 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
* base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net ↵Jo-Philipp Wich2010-05-282-2/+2
| | | | | | hotplug handler to match them SVN-Revision: 21591
* base-files: respect .auto option when running coldplug_interface_*() hooks ↵Jo-Philipp Wich2010-05-272-2/+5
| | | | | | on boot SVN-Revision: 21588