summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2006-09-28 11:27:38 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2006-09-28 11:27:38 +0000
commit87de20aa7cbaa5a0bb2e33e64f23d66fe26c1e69 (patch)
treebbca782ba59bcf99341853592c606754576d983c /media-plugins/vdr-osdteletext
parentVersion bump, see bug #149389. (diff)
downloadgentoo-2-87de20aa7cbaa5a0bb2e33e64f23d66fe26c1e69.tar.gz
gentoo-2-87de20aa7cbaa5a0bb2e33e64f23d66fe26c1e69.tar.bz2
gentoo-2-87de20aa7cbaa5a0bb2e33e64f23d66fe26c1e69.zip
correct PATH handling
(Portage version: 2.1.1)
Diffstat (limited to 'media-plugins/vdr-osdteletext')
-rw-r--r--media-plugins/vdr-osdteletext/ChangeLog5
-rw-r--r--media-plugins/vdr-osdteletext/files/rc-addon.sh12
2 files changed, 11 insertions, 6 deletions
diff --git a/media-plugins/vdr-osdteletext/ChangeLog b/media-plugins/vdr-osdteletext/ChangeLog
index aff93e6e73ec..3a99da2e87e2 100644
--- a/media-plugins/vdr-osdteletext/ChangeLog
+++ b/media-plugins/vdr-osdteletext/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-plugins/vdr-osdteletext
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdteletext/ChangeLog,v 1.6 2006/08/15 10:20:37 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdteletext/ChangeLog,v 1.7 2006/09/28 11:27:38 hd_brummy Exp $
+
+ 28 Sep 2006; Joerg Bornkessel <hd_brummy@gentoo.org> files/rc-addon.sh:
+ correct PATH handling
15 Aug 2006; Matthias Schwarzott <zzam@gentoo.org> metadata.xml:
Assigned to Gentoo VDR Project.
diff --git a/media-plugins/vdr-osdteletext/files/rc-addon.sh b/media-plugins/vdr-osdteletext/files/rc-addon.sh
index 5a8c806ab131..62fbcfe6f602 100644
--- a/media-plugins/vdr-osdteletext/files/rc-addon.sh
+++ b/media-plugins/vdr-osdteletext/files/rc-addon.sh
@@ -1,10 +1,12 @@
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdteletext/files/rc-addon.sh,v 1.1 2006/03/21 00:21:43 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdteletext/files/rc-addon.sh,v 1.2 2006/09/28 11:27:38 hd_brummy Exp $
#
# rc-addon-script for plugin osdteletext
#
# Joerg Bornkessel <hd_brummy@gentoo.org>
# Matthias Schwarzott <zzam@gentoo.org>
+source /etc/conf.d/vdr.osdteletext
+
: ${OSDTELETEXT_TMPFS:=yes}
: ${OSDTELETEXT_SIZE:=20}
: ${OSDTELETEXT_DIR:=/var/cache/osdteletext}
@@ -15,20 +17,20 @@ plugin_pre_vdr_start() {
if [[ ${OSDTELETEXT_TMPFS} == yes ]]; then
## test on mountet TMPS
- if /bin/mount | grep -q ${OSDTELETEXT_DIR} ; then
+ if /bin/mount | /bin/grep -q ${OSDTELETEXT_DIR} ; then
:
else
einfo_level2 mounting videotext dir ${OSDTELETEXT_DIR}
- mount -t tmpfs -o size=${OSDTELETEXT_SIZE}m,uid=vdr tmpfs ${OSDTELETEXT_DIR}
+ /bin/mount -t tmpfs -o size=${OSDTELETEXT_SIZE}m,uid=vdr,gid=vdr tmpfs ${OSDTELETEXT_DIR}
fi
fi
}
plugin_post_vdr_stop() {
if [[ ${OSDTELETEXT_TMPFS} == yes ]]; then
- if /bin/mount | grep -q ${OSDTELETEXT_DIR} ; then
+ if /bin/mount | /bin/grep -q ${OSDTELETEXT_DIR} ; then
einfo_level2 unmounting videotext dir ${OSDTELETEXT_DIR}
- umount ${OSDTELETEXT_DIR}
+ /bin/umount ${OSDTELETEXT_DIR}
fi
fi
}