aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [package] base-files: Add /etc/nsswitch.conf to targets running ↵Hamish Guthrie2011-02-182-0/+14
| | | | | | glibc/eglibc, otherwise name resolution fails git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: librt should depend on libpthread, not the other way aroundFelix Fietkau2011-02-161-1/+1
| | | | | | | | | In uClibc 0.9.32 as well as recent versions of glibc and eglibc, librt depends on libpthread. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25548 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
* remove the shared object stubs of libnsl and libresolv - let the compiler ↵Felix Fietkau2011-02-131-1/+1
| | | | | | use the static variants instead git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25511 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-113-6/+30
| | | | | | | | | - 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
* [package] base-files: Add include for target specific hotplug rulesVasilis Tsiligiannis2011-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 ↵Michael Büsch2011-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/bannerJo-Philipp Wich2011-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 ↵Jo-Philipp Wich2011-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 ↵Jo-Philipp Wich2011-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 ruleVasilis Tsiligiannis2011-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 expressionsVasilis Tsiligiannis2011-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 ↵Vasilis Tsiligiannis2011-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 optsJo-Philipp Wich2011-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" optionJo-Philipp Wich2011-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)Florian Fainelli2011-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 scriptGabor Juhos2011-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 announcmentDaniel Dickinson2011-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 ↵Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 conffileJo-Philipp Wich2010-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 triggerGabor Juhos2010-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 ↵Felix Fietkau2010-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/wifiFlorian Fainelli2010-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 ↵Jo-Philipp Wich2010-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 stateJo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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)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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: mark /etc/shadow as conffileJo-Philipp Wich2010-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)Jo-Philipp Wich2010-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 conffileJo-Philipp Wich2010-10-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23264 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 conffileJo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 ↵Jo-Philipp Wich2010-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 ↵Daniel Dickinson2010-09-231-24/+0
| | | | | | commit 23111 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23112 3c298f89-4303-0410-b956-a3cf2f4a3e73