summaryrefslogtreecommitdiffstats
path: root/package/base-files
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files: make file compare silent in migrate-sysctljow2012-09-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add uci-defaults script to migrate sysctl.conf (#12196)jow2012-09-172-1/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: remove route enabled check in lib/functions/network.sh ↵jow2012-09-131-4/+2
| | | | | | after netifd bump git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults for rssiledsjuhosg2012-08-131-0/+44
| | | | | | | | Adds capability to add uci-defaults defining RSSI LEDs Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33164 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: provide a sysupgrade -r (--restore-backup) option as ↵jow2012-08-122-1/+13
| | | | | | convenience wrapper for tar -C / -x(v)zf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] move LIB_SUFFIX from base-files to rules.mkflorian2012-08-101-3/+0
| | | | | | Some packages are going to need fixups based on LIB_SUFFIX git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix option parsing of -F/--force parameterjow2012-08-092-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: check for ldd presence and executability (#11991)florian2012-08-082-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix detection of standalone lddflorian2012-07-272-2/+2
| | | | | | | | When standalone ldd is selected in config the binary is installed in /usr/bin/ldd. Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Modernize hotplug2 rules (#11368)acinonyx2012-07-141-29/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: ensure that /sys is available during sysupgrade, some ↵jow2012-07-031-1/+5
| | | | | | essential services like om-watchdog need it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: implement network_get_dnsserver() and ↵jow2012-06-291-0/+31
| | | | | | network_get_dnssearch() in /lib/functions/network.sh git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: only consider enabled default routes when finding the ↵jow2012-06-291-2/+4
| | | | | | wan iface (#11774) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)nbd2012-06-271-1/+3
| | | | | | | | | | A year of testing in the cerowrt project shows not using timestamps to be a very bad idea in nearly any TCP at speeds above a few Mbit. Lastly sack/dsack help on recovery from larger amounts of packet loss. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: allow wireless ifaces to be part of multiple networksjow2012-06-262-5/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: move eglibc-files from base-files to toolchain, it is packaged as ↵nbd2012-06-201-13/+0
| | | | | | part of the libc package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: implement network_get_gateway(), ↵jow2012-06-172-1/+60
| | | | | | network_get_gateway6(), network_find_wan() and network_find_wan6() in /lib/functions/network.sh git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: enable shell tracing in initscripts when INIT_TRACE is setjow2012-06-131-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: override Build/Compile/Default instead of Build/Compile (fixes ↵nbd2012-06-131-1/+2
| | | | | | #11667) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: move all toolchain packages to a separate package directory ↵nbd2012-06-101-543/+2
| | | | | | 'toolchain' git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32169 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: implement network_defer_device() and ↵jow2012-06-071-0/+16
| | | | | | network_ready_device() wrappers for upcoming netifd iface deferring support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add permission exceptions, do not clobber shadow ↵jow2012-06-051-0/+4
| | | | | | permissions - based on patch by Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: ship a static initial shadow db instead of creating it ↵jow2012-06-052-4/+5
| | | | | | from passwd with sed, this fixes registering of users at compile time git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: make user_add() populate the shadow db as welljow2012-06-052-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] /etc/functions.sh => /lib/functions.shjow2012-06-058-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add LED specific functions to /lib/functions/uci-defaultsjuhosg2012-05-291-0/+98
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove base-files-network, netifd is the only supported option nownbd2012-05-291-7/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add network_is_up()jow2012-05-291-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: let network_get_device() return the l3 interface, ↵jow2012-05-291-4/+6
| | | | | | introduce network_get_physdev() to obtain the underlying iface (if applicable) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add network_get_device() to network.shjow2012-05-281-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: introduce /lib/functions/network.shjow2012-05-282-1/+42
| | | | | | | | | This file will contain common procedures to deal with network interfaces. Initially provides network_get_ipaddr(), network_get_ipaddr6(), network_get_subnet() and network_get_subnet6() to determine the primary IP addresses or subnets of a given logical interface. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: kill ubusd and udhcpc on sysupgrade as wellnbd2012-05-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgradenbd2012-05-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: copy /lib/functions.sh to the ramfs on sysupgradejuhosg2012-05-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS ↵nbd2012-05-141-3/+3
| | | | | | in a few relevant places git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: wait for wifi modules to settlejogo2012-05-061-0/+3
| | | | | | | | | | On slower devices wifi drivers might take too long for detecting devices, resulting in the wifi detect call not seeing them. This was observed on a bcm6348 with bcm4318 wifi. Adding a one second pause was enough for b43 to expose the device. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package/*] remove special treatment when using glibc - support got droppedmirko2012-04-281-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/glibc*] purge support for glibc - use eglibc instead!mirko2012-04-282-6/+2
| | | | | | for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix typo in 05_firstboot_skip script (#11359)florian2012-04-272-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: rename internal variables in config_foreach to make namespace ↵nbd2012-04-211-4/+4
| | | | | | conflicts more unlikely git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable ntpd server for busyboxjow2012-04-202-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hi Another version, in this one the enable_server option is in the timeserver ntp part of the "system" config file You can patch trunk and bacfire (tested both) You can put busybox ntpd in client mode (if you put server), in client & server (by putting enable_server to 1, ntpd listen to udp 123), and also in server mode only (if you didn't put any servers in the config and still put enable_server 1, ntpd will answer with the time of the router) I've replaced "config_foreach getpeers timeserver" with "config_get peers ntp server" because we want ntp timeserver, not random ones (to pre-answer if someone want to say that it's intrusive ...) Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> Le 27/03/2012 20:41, Etienne Champetier a écrit : > I've now tested my trunk patch and it works fine > But I still can't find were $PROG is defined (is this a mistake, or some sort of built in variable???) > (I've made some grep and nothing) > > Le 23/03/2012 02:19, Philip Prindeville a écrit : >> Maybe: >> >> [ -n "$PROG" -a -x "$PROG" ] || return 1 >> >> instead? >> >> >> On 3/22/12 4:34 PM, Etienne Champetier wrote: >>> Hi >>> >>> The 2 attached patchs (trunk & bacfire) add busybox ntpd enable_server option, as busybox ntpd server is compiled by default. >>> We only need 1 client/server daemon (olipro patch was launching 2 daemons) >>> I've fully tested the bacfire patch, and as i don't have a running openwrt trunk i'm not sure for the trunk patch (i'm sure about my modifications, but i'm not sure about "[ -x $PROG ] || return 1", as "$PROG" isn't defined ?!) >>> >>> Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> >>> >>> >>> Le 16/01/2012 01:57, Philip Prindeville a écrit : >>>> On 1/14/12 11:37 AM, Olipro wrote: >>>>> On Saturday 14 Jan 2012 02:45:59 Philip Prindeville wrote: >>>>>> Don't we already have a 'disabled' option? Now we're adding an >>>>>> 'enable_server' option? >>>>>> >>>>>> That seems confusing for no useful reason. >>>>>> >>>>> have you bothered to read what I originally wrote? your response would make >>>>> me inclined to believe that you didn't. >>>>> >>>>> currently the ntpd initscript only runs it as a CLIENT - this patch enables >>>>> you to have one instance running as a client and another as a SERVER that >>>>> other hosts can synchronise with. >>>>> >>>>> Or perhaps I'm misunderstanding, what would you propose for allowing the >>>>> built-in busybox ntpd to be utilised as a server? a separate init script >>>>> entirely perhaps? >>>> Or separate config sections... instead of 'config ntp' have 'config ntp-server' and 'config ntp-client'. >>>> >>>> -Philip >>>> >>>> >>>> _______________________________________________ >>>> openwrt-devel mailing list >>>> openwrt-devel@lists.openwrt.org >>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel >> _______________________________________________ >> openwrt-devel mailing list >> openwrt-devel@lists.openwrt.org >> https://lists.openwrt.org/mailman/listinfo/openwrt-devel > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: reformat banner to better work with varying version ↵jow2012-04-153-4/+6
| | | | | | string lengths, do not set image options if menu is disabled (#11280) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-file: cleanup white space in Kconfig sourcejow2012-04-121-88/+88
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] include, base-files, opkg: introduce version configuration to ↵jow2012-04-125-4/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | override the embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner The available placeholders are: %D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt" %d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt") %N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment") %n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment") %V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262") %v .. Like %V, but all characters made lowercase and spaces substituted with "_" %C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge" %c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge") %U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages" %R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c") %T .. Replace with the current target (e.g. "ar71xx") %S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le") git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: remove network preconfig, it collides with ar71xx ↵jow2012-04-121-5/+0
| | | | | | | | | | | network firstboot uci-defaults To supply custom network settings, it is better to embed a complete network config file using the files/ overlay, the old image lan preconfig options are also very limited in scope and actually collide with sysupgrade and firstboot hardware detection on at least ar71xx and possibly other targets, therfore drop this facility. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: split service related functions off to /lib/functions/service.shnbd2012-03-203-129/+131
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add munin to /etc/servicesjow2012-03-181-0/+1
| | | | | | | | | | | | The muninlite postinst fails to add munin to /etc/services. This patch removes this broken postinst and add an entry for munin in /etc/services. This should have been done when the rest of the /etc/services postinsts were being removed (changesets 26142-26149). Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove old coldplugging hacks that are no longer necessary since ↵nbd2012-03-131-10/+0
| | | | | | the new main hotplug2 instance calls udevtrigger as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: enable conntrack accounting in sysctl. It used to be a ↵jow2012-03-042-1/+2
| | | | | | compile time option which got deprecated git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove trailing whitespaces from lib/functions/boot.shjuhosg2012-03-021-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30776 3c298f89-4303-0410-b956-a3cf2f4a3e73