aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files: respect .auto option when running ↵Jo-Philipp Wich2010-05-271-1/+4
| | | | | | coldplug_interface_*() hooks on boot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add a coldplug_interface_* hook to bring up ↵Jo-Philipp Wich2010-05-061-0/+11
| | | | | | non-hotpluggable interfaces on boot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Remove redundant stopping of watchdogVasilis Tsiligiannis2010-05-031-1/+0
| | | | | | busybox watchdog applet should stop the watchdog before shutting down git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add stop() to watchdog init script, patch from Yury PolyanskiyFlorian Fainelli2010-05-031-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: also regenerate wifi config if existing config ↵Jo-Philipp Wich2010-04-031-2/+5
| | | | | | contains only whitespace git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: reload switch settings on /etc/init.d/network start as wellFelix Fietkau2010-03-151-5/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add the block-mount package by Daniel Dickinson (cshore), replacing existing ↵Felix Fietkau2010-02-261-63/+0
| | | | | | automount functionality git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files] Don't do lazy unmounting of filessystems at reboot/poweroff.Lars-Peter Clausen2010-02-091-1/+1
| | | | | | | | It is unneeded and could couse a broken filesystem if unmounting takes to long. Thanks to Peter Wagner git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* when rebooting, use lazy umounts as fallback (patch by puchu)Felix Fietkau2010-01-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* stop syslogd before rebooting, otherwise umount might not work properly when ↵Felix Fietkau2010-01-301-0/+6
| | | | | | logging to a file (thx, puchu) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: do not warn about nonexistant sysctl overrides (some of them are ↵Felix Fietkau2010-01-291-1/+1
| | | | | | config dependent) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* do not start multiple subshells for applying /etc/uci-defaults. use sh -x ↵Felix Fietkau2009-12-091-4/+3
| | | | | | for hush compatibility git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mount debugfs by defaultFelix Fietkau2009-11-231-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: only try to execute watchdog if binary is presentJo-Philipp Wich2009-10-201-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: introduce a ready-to-use /etc/rc.local to let users ↵Jo-Philipp Wich2009-09-111-0/+5
| | | | | | run custom commands on init without creating custom init scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix nonhotpluggable networks not being brought up. Closes #2781Travis Kemen2009-09-061-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "add ifup -a to boot(), closes #4543 #2781" (r17515)Felix Fietkau2009-09-051-1/+0
| | | | | | | | Hotpluggable 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add ifup -a to boot(), closes #4543 #2781Travis Kemen2009-09-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* extend logging functionsTravis Kemen2009-09-041-7/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17157 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: set rules file for hotplug2 in the boot script (closes ↵Gabor Juhos2009-05-301-0/+1
| | | | | | #5235) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: update command line for the new hotplug2Gabor Juhos2009-05-281-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rcS: wait for init scripts to complete before initiating the shutdown (patch ↵Felix Fietkau2009-04-302-6/+12
| | | | | | from #5032) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an explicit 'sysinit' tag for logging initscripts output, instead of '' ↵Nicolas Thill2009-04-211-1/+1
| | | | | | that was logged as is git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Allow running without "logger" installedMichael Büsch2009-03-181-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Support configurations without syslogd/klogd.Michael Büsch2009-03-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files]: On shutdown disabled every mounted swap device. Hauke Mehrtens2009-03-071-0/+1
| | | | | | | | Fixes #4721 Thanks to Angel Marin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files] allow specifying port where to log (#2019)Florian Fainelli2009-02-031-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: fix chmod of /tmp/.uci, bump package revisionJo-Philipp Wich2009-01-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make option name optionalTravis Kemen2008-09-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a race condition which would leave dnsmasq in infinite resolving ↵Felix Fietkau2008-08-281-0/+1
| | | | | | recursion nirvana git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes broken if-then in led init scriptJohn Crispin2008-08-271-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove /etc/functions.sh call from led hotplug scriptJohn Crispin2008-08-141-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* added support for the timer-trigger to uci LED supportSteven Barth2008-08-071-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add uci led supportJohn Crispin2008-08-041-0/+45
| | | | | | | | | - /etc/config/system can hold led info which is applied at boot - adds /sbin/led.sh to set/clear leds via a name defined in /etc/config/system git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* work aroung error message during boot if swapon is nt installedJohn Crispin2008-08-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it ↵Felix Fietkau2008-08-011-0/+1
| | | | | | works for initramfs as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix variable names in testsNicolas Thill2008-07-221-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert previous bad commit r11512Yuji Mano2008-06-161-11/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add the PS3 specific utility bl-option, a helper sctiptYuji Mano2008-06-161-6/+11
| | | | | | | | | to get and set bootloader options in flash memory. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* system now knows which timezone it is inJohn Crispin2008-06-111-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* create /etc/fstab on boot (closes #3458)Matteo Croce2008-05-201-5/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix some wrong pathsMatteo Croce2008-05-191-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11217 3c298f89-4303-0410-b956-a3cf2f4a3e73