Commit Graph

19 Commits (67eb275f69a5861cb017d541bc83b32e587b3859)

Author SHA1 Message Date
John Crispin 06ae364c3d base-files: run readlink on initscript name before opening services
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37241
2013-07-11 17:00:21 +00:00
Felix Fietkau bbc6694d98 base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script
SVN-Revision: 34866
2012-12-22 18:56:09 +00:00
Jo-Philipp Wich bfe966574f base-files: enable shell tracing in initscripts when INIT_TRACE is set
SVN-Revision: 32340
2012-06-13 17:10:41 +00:00
Felix Fietkau 6f46704743 base-files: split service related functions off to /lib/functions/service.sh
SVN-Revision: 31042
2012-03-20 14:29:50 +00:00
Nicolas Thill d0659ce37e package/base-files: move service* functions from /etc/rc.common to /lib/functions.sh
SVN-Revision: 28864
2011-11-08 22:47:41 +00:00
Nicolas Thill 10a03275bf package/base-files: /etc/rc.common: add service wrapper around start-stop-daemon
SVN-Revision: 28834
2011-11-07 22:58:27 +00:00
Felix Fietkau 8ff7756e82 base-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP is defined
SVN-Revision: 27797
2011-07-27 09:02:10 +00:00
Felix Fietkau 5a351509aa base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
SVN-Revision: 24540
2010-12-13 08:01:21 +00:00
Nicolas Thill b34bba25d2 base-files: fix shell syntax (prevent error messages when activating initscripts in IB)
SVN-Revision: 20571
2010-03-29 03:58:17 +00:00
Florian Fainelli de3a491240 simplify action handling in rc.common (#5558)
SVN-Revision: 17012
2009-07-26 12:34:09 +00:00
Nicolas Thill 7218e6326f make links to statup scripts in /etc/rc.d relative
SVN-Revision: 12659
2008-09-23 12:35:34 +00:00
Felix Fietkau e84e3a5b03 missing optional parameters for restart and boot functions
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
2008-01-25 10:59:40 +00:00
Felix Fietkau 6330c58b58 add patch from #2111
SVN-Revision: 8106
2007-07-22 16:55:31 +00:00
Mike Baker 5eb30e636d fix typo
SVN-Revision: 7170
2007-05-10 12:15:36 +00:00
Mike Baker bef40307bb START/STOP values must be specified in the init script
SVN-Revision: 7164
2007-05-10 10:38:53 +00:00
Mike Baker 291420a8f3 add K* scripts to be run at shutdown
SVN-Revision: 7163
2007-05-10 10:07:38 +00:00
Felix Fietkau 4bef6e13c2 add a workaround for self-killing init scripts on restart (#1023)
SVN-Revision: 5876
2006-12-20 05:26:39 +00:00
Felix Fietkau 9a5798e5f5 add a check to see if an init script is enabled
SVN-Revision: 5727
2006-12-08 17:56:05 +00:00
Felix Fietkau 59a06c71cb rename default/ to files/
SVN-Revision: 5622
2006-11-22 23:30:57 +00:00