summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d
Commit message (Collapse)AuthorAgeFilesLines
...
* base-files: module loading is now handled by ubox/kmodloaderJohn Crispin2013-06-211-5/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37003
* base-files: /etc/init.d/rcS is no longer needed, procd handles this for us nowJohn Crispin2013-06-211-9/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37002
* base-files: remove unnecessary early sysctl-hackSteven Barth2013-06-111-7/+0
| | | | SVN-Revision: 36920
* mount_root: prepare base-filesJohn Crispin2013-04-251-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36429
* boot: make use of kmodloader if it is availableJohn Crispin2013-04-251-1/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36428
* base-files: move sysctl init after bootJo-Philipp Wich2013-03-261-1/+1
| | | | SVN-Revision: 36131
* base-files: fix bad start index in previous commitJo-Philipp Wich2013-03-251-1/+1
| | | | SVN-Revision: 36130
* package/base-files: change sysctl handling Move /etc/init.d/sysctl to index ↵Jo-Philipp Wich2013-03-251-1/+1
| | | | | | 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. SVN-Revision: 36129
* make basefiles aware of procdJohn Crispin2013-03-133-66/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36003
* base-files: Fix IPv6 early sysctls again * Kernel IPv6 /proc interface ↵Steven Barth2013-02-011-2/+6
| | | | | | inconsistency caused races SVN-Revision: 35417
* base-files: Fix race-conditions with IPv6 sysctlsSteven Barth2013-01-291-0/+3
| | | | SVN-Revision: 35368
* Do not overload mount-call - trying to reduce confusionMirko Vogt2012-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'. SVN-Revision: 34792
* base-files: add support for the morse LED triggerGabor Juhos2012-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> SVN-Revision: 34380
* base-files: skip LEDs handled by rssileds in led init-scriptFlorian Fainelli2012-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> SVN-Revision: 33717
* base-files: release an attached loop device on umountingFlorian Fainelli2012-09-191-1/+1
| | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 33477
* /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-052-2/+2
| | | | SVN-Revision: 32062
* base-files: wait for wifi modules to settleJonas Gorski2012-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. SVN-Revision: 31639
* enable ntpd server for busyboxJo-Philipp Wich2012-04-201-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 SVN-Revision: 31374
* base-files: remove old coldplugging hacks that are no longer necessary since ↵Felix Fietkau2012-03-131-10/+0
| | | | | | the new main hotplug2 instance calls udevtrigger as well SVN-Revision: 30916
* base-files: the initial hotplug2 instance sometimes misses a few relevant ↵Felix Fietkau2012-01-221-0/+1
| | | | | | events, e.g. during module load. rerun udevtrigger for the final hotplug2 instance to fix this SVN-Revision: 29862
* base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so to ↵Jo-Philipp Wich2012-01-191-1/+0
| | | | | | hotplug2 anymore, its statically linked - patch by Viktar Palstsiuk <viktar.palstsiuk@promwad.com> SVN-Revision: 29806
* package/base-files: add support for the switch LED triggerGabor Juhos2011-12-311-0/+8
| | | | SVN-Revision: 29629
* package/base-files: use case statement in led init scriptGabor Juhos2011-12-311-15/+27
| | | | SVN-Revision: 29628
* base-files: now that we have date -k, adjust the kernel timezone after ↵Jo-Philipp Wich2011-11-171-1/+4
| | | | | | setting up TZ and localtime SVN-Revision: 29204
* package/base-files: use new service wrapperNicolas Thill2011-11-073-23/+25
| | | | SVN-Revision: 28835
* base-files: load modules early, run wifi detect afterwards and only then ↵Felix Fietkau2011-11-031-6/+12
| | | | | | | | process uci defaults this allows uci-defaults scripts to override wifi settings SVN-Revision: 28733
* base-files: remove rdate integration, add busybox ntpd init script and ↵Jo-Philipp Wich2011-10-271-0/+35
| | | | | | server list in /etc/config/system The rdate applet proved to be too unreliable to obtain the current time on boot: - public time servers are rare and often unreachable or overloaded - rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions - the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations - the time protocol as specified in RFC 868 is considered obsolete This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly. The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or by clearing the timeserver list in /etc/config/system. SVN-Revision: 28612
* base-files: move network related scripts to a separate package to make the ↵Felix Fietkau2011-10-201-52/+0
| | | | | | transition to netifd easier SVN-Revision: 28495
* base-files: use "zonename" system option to symlink /etc/localtime via ↵Jo-Philipp Wich2011-09-261-0/+3
| | | | | | /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc SVN-Revision: 28306
* base-files: pass conloglevel to syslogd (#9463, #9647)Jo-Philipp Wich2011-07-031-2/+6
| | | | SVN-Revision: 27400
* base-files: do not write to /etc/config/wireless at boot time unless a new ↵Felix Fietkau2011-06-071-3/+6
| | | | | | | | | | interface was found eliminates unnecessary flash write cycles at every boot patch by Peter Wagner (tripolar) SVN-Revision: 27127
* base-files: retrigger usb coldplug after module loading, solves ↵Jo-Philipp Wich2011-05-081-0/+5
| | | | | | usb_modeswitch on boot and possibly others (#9352) SVN-Revision: 26848
* base-files: Use -h instead of deprecated -L for symlink checkVasilis Tsiligiannis2011-04-051-1/+1
| | | | SVN-Revision: 26485
* base-files: fix minor problem in init.d/bootVasilis Tsiligiannis2011-04-051-1/+1
| | | | | | | | | The script tests for the existance of /dev/root with test -e which fails if /dev/root is a dangling symlink making the call to ln fail. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> SVN-Revision: 26483
* base-files: Autodetect newly added wireless hardwareVasilis Tsiligiannis2011-03-151-2/+2
| | | | SVN-Revision: 26166
* base-files: support port_state in led config (#6763)Florian Fainelli2011-01-271-0/+4
| | | | | | Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> SVN-Revision: 25172
* base-files: add support for the usbdev LED triggerGabor Juhos2010-12-171-4/+10
| | | | SVN-Revision: 24647
* base-files: respect .auto option when running coldplug_interface_*() hooks ↵Jo-Philipp Wich2010-05-271-1/+4
| | | | | | on boot SVN-Revision: 21588
* base-files: add a coldplug_interface_* hook to bring up non-hotpluggable ↵Jo-Philipp Wich2010-05-061-0/+11
| | | | | | interfaces on boot SVN-Revision: 21389
* base-files: Remove redundant stopping of watchdogVasilis Tsiligiannis2010-05-031-1/+0
| | | | | | busybox watchdog applet should stop the watchdog before shutting down SVN-Revision: 21341
* add stop() to watchdog init script, patch from Yury PolyanskiyFlorian Fainelli2010-05-031-1/+6
| | | | SVN-Revision: 21334
* Fix bug in foregrounding in /etc/init.d/rcSFlorian Fainelli2010-04-161-2/+6
| | | | | | | | Not using the config_xxx functions correctly. Amended. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 20928
* option to allow boot to run to completion before starting shellFlorian Fainelli2010-04-131-1/+6
| | | | | | | | | | | | | Setting the system variable "foreground" to yes causes the system to run the init scripts in series and wait for completion. This is useful if (a) you don't want the user getting into the console until the system is initialized, or (b) you have things going on in your scripts that require strict ordering (and no possible race conditions). Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 20841
* base-files: also regenerate wifi config if existing config contains only ↵Jo-Philipp Wich2010-04-031-2/+5
| | | | | | whitespace SVN-Revision: 20669
* base-files: reload switch settings on /etc/init.d/network start as wellFelix Fietkau2010-03-151-5/+4
| | | | SVN-Revision: 20232
* add the block-mount package by Daniel Dickinson (cshore), replacing existing ↵Felix Fietkau2010-02-261-63/+0
| | | | | | automount functionality SVN-Revision: 19877
* Don't do lazy unmounting of filessystems at reboot/poweroff. It is unneeded ↵Lars-Peter Clausen2010-02-091-1/+1
| | | | | | and could couse a broken filesystem if unmounting takes to long. Thanks to Peter Wagner SVN-Revision: 19568
* when rebooting, use lazy umounts as fallback (patch by puchu)Felix Fietkau2010-01-301-1/+1
| | | | SVN-Revision: 19429
* stop syslogd before rebooting, otherwise umount might not work properly when ↵Felix Fietkau2010-01-301-0/+6
| | | | | | logging to a file (thx, puchu) SVN-Revision: 19428
* when rebooting, stop the network interfaces last (just before umount) to ↵Felix Fietkau2010-01-301-1/+1
| | | | | | allow services to shut down properly (thx, puchu) SVN-Revision: 19427