aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-06-17 18:39:20 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-06-17 18:39:20 +0000
commit30dc07a2c4a65fa0b102bd816a195f206abfec80 (patch)
tree0f9b760d0b2b195ae6a3a79b04e1f1c269d70856 /etc
parentCleanup of init-script and plugin loader structure. (diff)
downloadgentoo-vdr-scripts-30dc07a2c4a65fa0b102bd816a195f206abfec80.tar.gz
gentoo-vdr-scripts-30dc07a2c4a65fa0b102bd816a195f206abfec80.tar.bz2
gentoo-vdr-scripts-30dc07a2c4a65fa0b102bd816a195f206abfec80.zip
No longer check old location for addons and the caps file.
svn path=/gentoo-vdr-scripts/trunk/; revision=612
Diffstat (limited to 'etc')
-rwxr-xr-xetc/init.d/vdr4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/init.d/vdr b/etc/init.d/vdr
index 7317a2b..9ef7dc0 100755
--- a/etc/init.d/vdr
+++ b/etc/init.d/vdr
@@ -39,7 +39,6 @@ depend() {
}
start_vdr() {
- common_init
local exitcode
einfo "Preparing start of vdr:"
@@ -99,7 +98,6 @@ start_vdr() {
}
stop_vdr() {
- common_init
init_plugin_loader stop
load_addons_prefixed pre-stop
@@ -142,11 +140,13 @@ stop_watchdog() {
}
start() {
+ common_init
start_vdr || return 1
start_watchdog || return 2
}
stop() {
+ common_init
stop_watchdog || return 2
stop_vdr
}