summaryrefslogtreecommitdiffstats
path: root/package/base-files
Commit message (Collapse)AuthorAgeFilesLines
* 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: remove remaining conffiles reference to /etc/bannerjow2011-02-041-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25368 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-262-1/+5
| | | | | | 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: Fix typo in option name for disabling failsafe announcmentcshore2011-01-181-1/+1
| | | | | | Thanks to Andrey Zholos for this patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25040 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: implement "reqopts" parameter for dhcp interfaces to ↵jow2010-12-222-2/+4
| | | | | | 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-172-5/+11
| | | | 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
* [package] adds a --help option to /sbin/wififlorian2010-12-052-1/+10
| | | | | | Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: derive connect_time from uptime as local system time ↵jow2010-12-011-1/+1
| | | | | | may warp due to rdate, ntp and other means git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: save the connect time of interfaces in uci statejow2010-12-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: disable ipv6 on bridge ports, this prevents stray RA ↵jow2010-11-301-8/+13
| | | | | | assigned and link local addresses on bridge member devices git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-file: add metric option for static and dhcp protos, this ↵jow2010-11-173-5/+8
| | | | | | simplifies the management of multiple default routes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: mark libc as hold and essential, opkg should now bail ↵jow2010-11-111-0/+1
| | | | | | out if someone tries to uninstall libc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: change /dev permissions to 0755 when hotplug2 is used ↵jow2010-11-071-1/+1
| | | | | | (#6039) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] Fix permissions for /etc and other dirs after clean flash (#6039)jow2010-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: mark /etc/shadow as conffilejow2010-10-231-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23590 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add udhcpc vendorid option (#7744)jow2010-10-062-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: mark /etc/sysupgrade.conf as conffilejow2010-10-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23264 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:jow2010-10-054-3/+21
| | | | | | | | | | | | - add sysupgrade support for keepfile hints * introduces /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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: sysupgrade: merge info from "opkg ↵jow2010-10-052-3/+4
| | | | | | list-changed-conffiles" to backup file list git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: mark /etc/rc.local as conffilejow2010-10-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: utilize uci_get_state to read the previous dhcp router ↵jow2010-10-042-3/+3
| | | | | | | | | | | address 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: prevent possible sourcing of JFFS2 meta files when ↵jow2010-09-231-1/+1
| | | | | | merging overlay hooks git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23114 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base system & package/block-extroot] Fixed duplicated content in file in ↵cshore2010-09-231-24/+0
| | | | | | commit 23111 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base system & package/block-extroot] Missed file committing previous change ↵cshore2010-09-231-0/+48
| | | | | | 23110 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base/block-extroot, base/block-mount: Modified preinit and ↵cshore2010-09-233-27/+83
| | | | | | | | | | | | | | | | | | block-extroot and 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! git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Add function pi_include the /lib/functions/boot.sh ↵cshore2010-09-191-0/+13
| | | | | | used by 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: bump pkg revision after r23091, r23092jow2010-09-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: kill possibly existing udhcpc instance when bringing ↵jow2010-09-191-39/+26
| | | | | | | | | | up a dhcp iface, utilize service_kill() in dhcp shutdown. Based on patch by Stijn Tintel. Possibly related to #7314 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: cached state vars after scan_interfaces might be out ↵jow2010-09-191-3/+3
| | | | | | of sync when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: introduce service_kill() into functions.sh - a ↵jow2010-09-192-1/+18
| | | | | | convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add an experimental "-c" flag which tries to preserve ↵jow2010-09-072-3/+20
| | | | | | *all* changed files in /overlay/etc minus some system files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: make build dependant on opkg/hostjow2010-09-061-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and ↵nbd2010-08-191-8/+8
| | | | | | moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files, uci: properly revert list state on config_loadjow2010-08-142-1/+2
| | | | | | | | This fixes a bug where lists end up with duplicate values if config_load was invoked multiple times. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base_files: Remove . from end of localhost entryhcg2010-08-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: r22444 caused interfaces to remain down if the macaddr ↵jow2010-08-021-2/+2
| | | | | | option is used, fix it. Also localize the txqueuelen option variable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add txqueuelen option, patch from Roberto Riggioflorian2010-07-311-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: localize variable in do_move_devtmpfs(), remove extra ↵jow2010-07-241-6/+3
| | | | | | temporary variable and shorten conditional git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: add support for devtmpfs (thank you rauchwolke at gmx.net)acoul2010-07-241-1/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22379 3c298f89-4303-0410-b956-a3cf2f4a3e73