summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
Commit message (Collapse)AuthorAgeFilesLines
* Adapt default network configuration for IPv6cyrus2013-04-091-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: move sysctl init after bootjow2013-03-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: fix bad start index in previous commitjow2013-03-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: change sysctl handlingjow2013-03-252-1/+7
| | | | | | | | | Move /etc/init.d/sysctl to index 00 and add hotplug script that applies interface specific sysctls for interfaces that only appear later - this allows to reliably configure per-interface parameters in sysctl.conf, e.g. to disable ipv6 autoconfig on a specific iface. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files] make basefiles aware of procdblogic2013-03-1310-116/+50
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: Fix IPv6 early sysctls againcyrus2013-02-012-5/+6
| | | | | | * Kernel IPv6 /proc interface inconsistency caused races git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: Fix race-conditions with IPv6 sysctlscyrus2013-01-293-1/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35368 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove IPv6-forwarding setting for all interfacescyrus2013-01-281-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: Set default value for IPv6 forwardingcyrus2013-01-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: use numerically prefixed uci-defaults namesjow2013-01-183-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35218 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: rename ULA generation scriptcyrus2013-01-171-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add support for ipv6-prefixes in connection with netifdcyrus2013-01-152-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35168 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add basic procd integration, let procd start (and restart) ubus ↵nbd2012-12-221-0/+31
| | | | | | instead of having an ubus init script git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: we don't need /etc/functions.sh symlink anymoreluka2012-12-201-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34802 3c298f89-4303-0410-b956-a3cf2f4a3e73
* merge /lib/functions/boot.sh and /lib/functions.shmirko2012-12-191-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34794 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not overload mount-call - trying to reduce confusionmirko2012-12-192-2/+2
| | | | | | | | | | | The behaviour of calling 'mount' differed depending on whether it called the busybox-mount, the mount of util-linux, the mount defined in /lib/functions.sh and /lib/functions/boot.sh /etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh, both re-defining 'mount'. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Remove default sysctl-entry for IPv6 here (races)cyrus2012-11-291-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add support for the morse LED triggerjuhosg2012-11-251-0/+7
| | | | | | | | | | | | Write "delay" and "message" options to their respective files, allowing Morse code message configuration through UCI. The delay (dit length) defaults to 150ms (about 8 words per minute, suitable for beginners). Signed-off-by: Petr Viktorin <encukou@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: skip LEDs handled by rssileds in led init-scriptflorian2012-10-111-0/+5
| | | | | | | | | | | | | | | Without this, /etc/init.d/led will try to set the non-existing 'rssi' trigger. This doesn't harm as the kernel will refuse this setting, but it outputs some ugly log-lines: Jun 24 10:15:19 OpenWrt user.info sysinit: setting up led RSSILOW Jun 24 10:15:19 OpenWrt user.info sysinit: sh: write error: Invalid argument ... In order to avoid this, skip LEDs with trigger = "rssi" in /etc/init.d/led Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* it's time to break the barrierskaloz2012-10-081-8/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove obsolete entries from sysctl.conf (#12236)nbd2012-09-241-5/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: release an attached loop device on umountingflorian2012-09-191-1/+1
| | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [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-171-0/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: check for ldd presence and executability (#11991)florian2012-08-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix detection of standalone lddflorian2012-07-271-1/+1
| | | | | | | | 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
* 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: 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
* [package] base-files: ship a static initial shadow db instead of creating it ↵jow2012-06-051-0/+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] /etc/functions.sh => /lib/functions.shjow2012-06-053-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 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
* 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-151-1/+3
| | | | | | 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
* [buildroot] include, base-files, opkg: introduce version configuration to ↵jow2012-04-123-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* base-files: split service related functions off to /lib/functions/service.shnbd2012-03-201-1/+2
| | | | 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-041-0/+1
| | | | | | compile time option which got deprecated git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add a uci-defaults script which will migrate the root ↵jow2012-01-221-0/+12
| | | | | | password to /etc/shadow if needed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: the initial hotplug2 instance sometimes misses a few relevant ↵nbd2012-01-221-0/+1
| | | | | | events, e.g. during module load. rerun udevtrigger for the final hotplug2 instance to fix this git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so ↵jow2012-01-191-1/+0
| | | | | | to hotplug2 anymore, its statically linked - patch by Viktar Palstsiuk <viktar.palstsiuk@promwad.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29806 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: add support for the switch LED triggerjuhosg2011-12-311-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: use case statement in led init scriptjuhosg2011-12-311-15/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: now that we have date -k, adjust the kernel timezone ↵jow2011-11-171-1/+4
| | | | | | after setting up TZ and localtime git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: prime root password with "x" to notify programs that ↵jow2011-11-141-1/+1
| | | | | | | | | there is a shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files]: nuke another 2.4 skeletonkaloz2011-11-101-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files]: the empty root password should be empty ;)kaloz2011-11-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files, target: assign name to system timeserver section, makes it ↵jow2011-11-101-1/+1
| | | | | | easier to set servers on the cli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: move service* functions from /etc/rc.common to ↵nico2011-11-081-82/+0
| | | | | | /lib/functions.sh git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28864 3c298f89-4303-0410-b956-a3cf2f4a3e73