summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files: introduce a ready-to-use /etc/rc.local to let users ↵jow2009-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" ↵nbd2009-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 #2781thepeople2009-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)nbd2009-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 #2781thepeople2009-09-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* extend logging functionsthepeople2009-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_getnbd2009-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_getnbd2009-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_getnbd2009-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 ↵juhosg2009-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 hotplug2juhosg2009-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 ↵nbd2009-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 '' ↵nico2009-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" installedmb2009-03-181-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Support configurations without syslogd/klogd.mb2009-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. hauke2009-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)florian2009-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 revisionjow2009-01-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make option name optionalthepeople2008-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 ↵nbd2008-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 scriptblogic2008-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 scriptblogic2008-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 supportcyrus2008-08-071-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add uci led supportblogic2008-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 installedblogic2008-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 ↵nbd2008-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 testsnico2008-07-221-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert previous bad commit r11512ymano2008-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 sctiptymano2008-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 inblogic2008-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)matteo2008-05-201-5/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix some wrong pathsmatteo2008-05-191-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: Update /etc/init.d/fstab with new location of swapon and swapoff ↵rwhitby2008-05-171-4/+4
| | | | | | (they moved from /sbin to /usr/sbin) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11157 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adding check for /proc/net/vlan/config (==vlan enabled kernel)ralph2008-05-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix swap{on,off} pathmatteo2008-04-191-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix restart on platforms without a setup_switch()thepeople2008-04-151-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add missing include in restartthepeople2008-04-121-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10794 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typo(2) in watchdog init script matteo2008-04-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typo in watchdog init scriptmatteo2008-04-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Start the watchdog daemon if a harware watchdog is presentflorian2008-04-031-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Make the syslog ring-buffer size configurable (#3204)florian2008-03-071-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix typoflorian2008-03-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Also call setup_switch on network restartflorian2008-03-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)nbd2008-02-031-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* init: check permissions on rc.d filesnbd2007-11-281-1/+1
| | | | | | | | | | | | | We try to unconditionally execute /etc/rc.d/* files, even if they're not executable - an easy way of temproarily disabling a service. When this happens, we get a permission denied error on boot. This change only tries to run execulable startup scripts. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9607 3c298f89-4303-0410-b956-a3cf2f4a3e73
* init: don't start hotplug2 if it doesn't existnbd2007-11-281-1/+2
| | | | | | | | | | | | | The current init script always tries to start hotplug 2, even if it's not present, so we get an error on boot. This change checks for the presence of the hotplug2 binary before trying to start it. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] 6tunnel: move init/config files to the right placejuhosg2007-10-271-64/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Mark 6tunnel as executable, avoids ": /etc/init.d/rcS: line 8: ↵florian2007-10-241-0/+0
| | | | | | /etc/rc.d/S466tunnel: Permission denied" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add 6tunnel configuration for tunnel brokers based configuration (not ↵florian2007-10-111-0/+64
| | | | | | SiXXS), disabled by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: Added support for swap configuration in /etc/config/fstabrwhitby2007-09-221-0/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8947 3c298f89-4303-0410-b956-a3cf2f4a3e73