summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/rc.common
Commit message (Collapse)AuthorAgeFilesLines
* rc.common: when reloading a service using procd, fall back to calling start ↵Felix Fietkau2014-07-031-1/+1
| | | | | | | | | | instead of restart This avoids unnecessary service restarts Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41490
* base-files: add a post start hook to the procd init.d apiJohn Crispin2014-06-261-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41344
* 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> SVN-Revision: 40906
* 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> SVN-Revision: 40576
* base-files: add a post start hook for procd managed servicesJohn Crispin2013-09-171-1/+20
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38024
* 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> SVN-Revision: 37248
* base-files: run readlink on initscript name before opening servicesJohn Crispin2013-07-111-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37241
* 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 SVN-Revision: 34866
* base-files: enable shell tracing in initscripts when INIT_TRACE is setJo-Philipp Wich2012-06-131-1/+3
| | | | SVN-Revision: 32340
* base-files: split service related functions off to /lib/functions/service.shFelix Fietkau2012-03-201-1/+2
| | | | SVN-Revision: 31042
* package/base-files: move service* functions from /etc/rc.common to ↵Nicolas Thill2011-11-081-82/+0
| | | | | | /lib/functions.sh SVN-Revision: 28864
* package/base-files: /etc/rc.common: add service wrapper around start-stop-daemonNicolas Thill2011-11-071-1/+83
| | | | SVN-Revision: 28834
* base-files: warn when calling /etc/init.d/<script> enable and neither START ↵Felix Fietkau2011-07-271-0/+4
| | | | | | nor STOP is defined SVN-Revision: 27797
* base-files: use shutdown instead of stop when the system goes down (patch by ↵Felix Fietkau2010-12-131-1/+1
| | | | | | tripolar) SVN-Revision: 24540
* base-files: fix shell syntax (prevent error messages when activating ↵Nicolas Thill2010-03-291-1/+1
| | | | | | initscripts in IB) SVN-Revision: 20571
* simplify action handling in rc.common (#5558)Florian Fainelli2009-07-261-23/+9
| | | | SVN-Revision: 17012
* make links to statup scripts in /etc/rc.d relativeNicolas Thill2008-09-231-2/+2
| | | | SVN-Revision: 12659
* 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> SVN-Revision: 10245
* add patch from #2111Felix Fietkau2007-07-221-11/+13
| | | | SVN-Revision: 8106
* fix typoMike Baker2007-05-101-1/+1
| | | | SVN-Revision: 7170
* START/STOP values must be specified in the init scriptMike Baker2007-05-101-4/+3
| | | | SVN-Revision: 7164
* add K* scripts to be run at shutdownMike Baker2007-05-101-0/+1
| | | | SVN-Revision: 7163
* add a workaround for self-killing init scripts on restart (#1023)Felix Fietkau2006-12-201-0/+1
| | | | SVN-Revision: 5876
* add a check to see if an init script is enabledFelix Fietkau2006-12-081-0/+6
| | | | SVN-Revision: 5727
* rename default/ to files/Felix Fietkau2006-11-221-0/+83
SVN-Revision: 5622