aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/rc.common
Commit message (Collapse)AuthorAgeFilesLines
* base-files: calling stop_service before procd_kill.John Crispin2014-06-021-1/+1
| | | | | | | | | | | | Before this patch, doing `/e/c/network restart' will emit the folloing error by `ubus network.wireless down "{}"' because netifd already quit by that time. Command failed: not found Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove duplicate stop_service() function.Felix Fietkau2014-04-271-4/+0
| | | | | | | | | It was introduced in commit 2f966e8, "base-files: add a post start hook for procd managed services". Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add a post start hook for procd managed servicesJohn Crispin2013-09-171-1/+20
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add a small script that handles config reloads until configd is readyJohn Crispin2013-07-111-0/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: run readlink on initscript name before opening servicesJohn Crispin2013-07-111-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add basic procd integration, let procd start (and restart) ubus ↵Felix Fietkau2012-12-221-0/+31
| | | | | | instead of having an ubus init script git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: enable shell tracing in initscripts when INIT_TRACE is setJo-Philipp Wich2012-06-131-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: split service related functions off to /lib/functions/service.shFelix Fietkau2012-03-201-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: move service* functions from /etc/rc.common to ↵Nicolas Thill2011-11-081-82/+0
| | | | | | /lib/functions.sh git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: /etc/rc.common: add service wrapper around start-stop-daemonNicolas Thill2011-11-071-1/+83
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: warn when calling /etc/init.d/<script> enable and neither START ↵Felix Fietkau2011-07-271-0/+4
| | | | | | nor STOP is defined git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27797 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: use shutdown instead of stop when the system goes down (patch by ↵Felix Fietkau2010-12-131-1/+1
| | | | | | tripolar) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix shell syntax (prevent error messages when ↵Nicolas Thill2010-03-291-1/+1
| | | | | | activating initscripts in IB) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [pakcage] simplify action handling in rc.common (#5558)Florian Fainelli2009-07-261-23/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17012 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make links to statup scripts in /etc/rc.d relativeNicolas Thill2008-09-231-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* missing optional parameters for restart and boot functionsFelix Fietkau2008-01-251-3/+3
| | | | | | | | | | | Add missing optional parameters in remaining rc functions. It fixes my previous implementation of parametrized rc functions [8106], ticket #3063, thanks argovela-at-yahoo-com for reporting. Signed-off-by: Lubos Stanek (lubek) <lubek@lubek.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add patch from #2111Felix Fietkau2007-07-221-11/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typoMike Baker2007-05-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7170 3c298f89-4303-0410-b956-a3cf2f4a3e73
* START/STOP values must be specified in the init scriptMike Baker2007-05-101-4/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7164 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add K* scripts to be run at shutdownMike Baker2007-05-101-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7163 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a workaround for self-killing init scripts on restart (#1023)Felix Fietkau2006-12-201-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a check to see if an init script is enabledFelix Fietkau2006-12-081-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename default/ to files/Felix Fietkau2006-11-221-0/+83
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73