aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d
Commit message (Collapse)AuthorAgeFilesLines
* 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
* base-files: do not warn about nonexistant sysctl overrides (some of them are ↵Felix Fietkau2010-01-291-1/+1
| | | | | | config dependent) SVN-Revision: 19375
* run led init after /etc/init.d/done to keep the configured led settings ↵Felix Fietkau2010-01-061-1/+1
| | | | | | active after the system has finished booting Signed-off-by: Nuno Goncalves <nunojpg@gmail.com> SVN-Revision: 19050
* do not start multiple subshells for applying /etc/uci-defaults. use sh -x ↵Felix Fietkau2009-12-091-4/+3
| | | | | | for hush compatibility SVN-Revision: 18717
* mount debugfs by defaultFelix Fietkau2009-11-231-0/+1
| | | | SVN-Revision: 18502
* base-files: only try to execute watchdog if binary is presentJo-Philipp Wich2009-10-201-1/+2
| | | | SVN-Revision: 18102
* base-files: introduce a ready-to-use /etc/rc.local to let users run custom ↵Jo-Philipp Wich2009-09-111-0/+5
| | | | | | commands on init without creating custom init scripts SVN-Revision: 17571
* Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵Felix Fietkau2009-09-091-15/+0
| | | | | | (r17527) until we've solved the race conditions it creates SVN-Revision: 17544
* fix nonhotpluggable networks not being brought up. Closes #2781Travis Kemen2009-09-061-0/+15
| | | | SVN-Revision: 17527
* Revert "add ifup -a to boot(), closes #4543 #2781" (r17515) Hotpluggable ↵Felix Fietkau2009-09-051-1/+0
| | | | | | interfaces are already brought up before /etc/init.d/network boot and this change can break them, if the ifup -a command runs at the wrong time, also starts many interfaces twice, which can lead to issues with PPPoE. SVN-Revision: 17516
* add ifup -a to boot(), closes #4543 #2781Travis Kemen2009-09-051-0/+1
| | | | SVN-Revision: 17515
* extend logging functionsTravis Kemen2009-09-041-7/+17
| | | | SVN-Revision: 17514
* base-files: clean up init.d/fstab and port it to the new config_getFelix Fietkau2009-08-071-18/+14
| | | | | | | | ... also remove the unused noauto variable in swapon. Signed-off-by: Malte S. Stretz <mss@apache.org> SVN-Revision: 17159
* base-files: port init.d/led to new config_getFelix Fietkau2009-08-071-8/+6
| | | | | | | | ... and don't call logger directly, rcS takes care of the correct redirection Signed-off-by: Malte S. Stretz <mss@apache.org> SVN-Revision: 17158
* base-files: port init.d/boot to new config_getFelix Fietkau2009-08-071-9/+10
| | | | | | | | ... and localize some variables. Signed-off-by: Malte S. Stretz <mss@apache.org> SVN-Revision: 17157
* base-files: set rules file for hotplug2 in the boot script (closes #5235)Gabor Juhos2009-05-301-0/+1
| | | | SVN-Revision: 16215
* base-files: update command line for the new hotplug2Gabor Juhos2009-05-281-1/+2
| | | | SVN-Revision: 16154
* rcS: wait for init scripts to complete before initiating the shutdown (patch ↵Felix Fietkau2009-04-302-6/+12
| | | | | | from #5032) SVN-Revision: 15530
* add an explicit 'sysinit' tag for logging initscripts output, instead of '' ↵Nicolas Thill2009-04-211-1/+1
| | | | | | that was logged as is SVN-Revision: 15323
* Allow running without "logger" installedMichael Büsch2009-03-181-1/+4
| | | | SVN-Revision: 14938
* Support configurations without syslogd/klogd.Michael Büsch2009-03-181-2/+2
| | | | SVN-Revision: 14937
* On shutdown disabled every mounted swap device. Fixes #4721 Thanks to Angel ↵Hauke Mehrtens2009-03-071-0/+1
| | | | | | Marin SVN-Revision: 14770
* allow specifying port where to log (#2019)Florian Fainelli2009-02-031-1/+2
| | | | SVN-Revision: 14396
* package/base-files: fix chmod of /tmp/.uci, bump package revisionJo-Philipp Wich2009-01-061-1/+1
| | | | SVN-Revision: 13903
* make option name optionalTravis Kemen2008-09-131-2/+2
| | | | SVN-Revision: 12585