summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/init.d
AgeCommit message (Collapse)Author
2009-09-05Revert "add ifup -a to boot(), closes #4543 #2781" (r17515)nbd
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
2009-09-05add ifup -a to boot(), closes #4543 #2781thepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-04extend logging functionsthepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07base-files: clean up init.d/fstab and port it to the new config_getnbd
... 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
2009-08-07base-files: port init.d/led to new config_getnbd
... 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
2009-08-07base-files: port init.d/boot to new config_getnbd
... 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
2009-05-30[package] base-files: set rules file for hotplug2 in the boot script (closes ↵juhosg
#5235) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28[package] base-files: update command line for the new hotplug2juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30rcS: wait for init scripts to complete before initiating the shutdown (patch ↵nbd
from #5032) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21add an explicit 'sysinit' tag for logging initscripts output, instead of '' ↵nico
that was logged as is git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-18Allow running without "logger" installedmb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-18Support configurations without syslogd/klogd.mb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-07[base-files]: On shutdown disabled every mounted swap device. hauke
Fixes #4721 Thanks to Angel Marin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03[base-files] allow specifying port where to log (#2019)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-06package/base-files: fix chmod of /tmp/.uci, bump package revisionjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-13make option name optionalthepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28fix a race condition which would leave dnsmasq in infinite resolving ↵nbd
recursion nirvana git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27fixes broken if-then in led init scriptblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-14remove /etc/functions.sh call from led hotplug scriptblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07added support for the timer-trigger to uci LED supportcyrus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04add uci led supportblogic
- /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
2008-08-04work aroung error message during boot if swapon is nt installedblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it ↵nbd
works for initramfs as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-22fix variable names in testsnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16Revert previous bad commit r11512ymano
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16Add the PS3 specific utility bl-option, a helper sctiptymano
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
2008-06-11system now knows which timezone it is inblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-20create /etc/fstab on boot (closes #3458)matteo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-19fix some wrong pathsmatteo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-17base-files: Update /etc/init.d/fstab with new location of swapon and swapoff ↵rwhitby
(they moved from /sbin to /usr/sbin) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-13adding check for /proc/net/vlan/config (==vlan enabled kernel)ralph
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-19fix swap{on,off} pathmatteo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-15fix restart on platforms without a setup_switch()thepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-12add missing include in restartthepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03fix typo(2) in watchdog init script matteo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03fix typo in watchdog init scriptmatteo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03Start the watchdog daemon if a harware watchdog is presentflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07Make the syslog ring-buffer size configurable (#3204)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-04Fix typoflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-02Also call setup_switch on network restartflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03Here comes the new UCI. Enjoy :)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28init: check permissions on rc.d filesnbd
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
2007-11-28init: don't start hotplug2 if it doesn't existnbd
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
2007-10-27[packages] 6tunnel: move init/config files to the right placejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24Mark 6tunnel as executable, avoids ": /etc/init.d/rcS: line 8: ↵florian
/etc/rc.d/S466tunnel: Permission denied" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11Add 6tunnel configuration for tunnel brokers based configuration (not ↵florian
SiXXS), disabled by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-22base-files: Added support for swap configuration in /etc/config/fstabrwhitby
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21Added support for /etc/default/fstab - a means of automatically mounting ↵rwhitby
devices on boot. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - ↵nbd
should prevent duplicate ifup actions. thx, ffrrrr. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-24wireless config gets regenerated not only when it does not exist, buit also ↵blogic
if it is 0 len git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8149 3c298f89-4303-0410-b956-a3cf2f4a3e73