diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /media-plugins/vdr-osdteletext/files | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'media-plugins/vdr-osdteletext/files')
-rw-r--r-- | media-plugins/vdr-osdteletext/files/confd-v2 | 37 | ||||
-rw-r--r-- | media-plugins/vdr-osdteletext/files/rc-addon-v3.sh | 48 |
2 files changed, 0 insertions, 85 deletions
diff --git a/media-plugins/vdr-osdteletext/files/confd-v2 b/media-plugins/vdr-osdteletext/files/confd-v2 deleted file mode 100644 index 1cfe42c11bc0..000000000000 --- a/media-plugins/vdr-osdteletext/files/confd-v2 +++ /dev/null @@ -1,37 +0,0 @@ -# /etc/conf.d/vdr.osdteletext - -# ################################################ -# -# for minimal activity on your Harddisc -# store the vtx files in a temp filesystem -# allowed values: yes no -# default: yes -#OSDTELETEXT_TMPFS=yes - - -# ######### Expert Functions ################### -# -# set the size of the videotext store -# (when using TMPFS this is taken from RAM) -# allowed values: size in megabyte -# default: 20 # used 20 Mb for videotext -#OSDTELETEXT_SIZE=20 - -# set the dir of the tmpfs -# allowed values: directory names -# default: /var/cache/vdr/osdteletext -#OSDTELETEXT_DIR=/var/cache/vdr/osdteletext - -# store top text pages at cache. (unviewable pages) -# allowed values: yes no -# default: no -#OSDTELETEXT_STORETOPTEXT=no - -# ######## NOTE! ################################ -# -# User with an old install have an entry like -# -# tmpfs /vtx tmpfs size=20M 0 0 -# -# in the /etc/fstab -# you can remove the entry, not needed anymore. diff --git a/media-plugins/vdr-osdteletext/files/rc-addon-v3.sh b/media-plugins/vdr-osdteletext/files/rc-addon-v3.sh deleted file mode 100644 index 3dde26bec61c..000000000000 --- a/media-plugins/vdr-osdteletext/files/rc-addon-v3.sh +++ /dev/null @@ -1,48 +0,0 @@ -# -# rc-addon-script for plugin osdteletext -# -# Joerg Bornkessel <hd_brummy@gentoo.org> -# Matthias Schwarzott <zzam@gentoo.org> - -: ${OSDTELETEXT_TMPFS:=yes} -: ${OSDTELETEXT_SIZE:=20} -: ${OSDTELETEXT_DIR:=/var/cache/vdr/osdteletext} -: ${OSDTELETEXT_STORETOPTEXT:=no} - -# depends on QA, create paths in /var/cache on the fly at runtime as needed -init_cache_dir() { - if [ ! -d "${OSDTELETEXT_DIR}" ]; then - mkdir -p ${OSDTELETEXT_DIR} - chown vdr:vdr ${OSDTELETEXT_DIR} - fi -} - -plugin_pre_vdr_start() { - init_cache_dir - - add_plugin_param "-d ${OSDTELETEXT_DIR}" - add_plugin_param "-n ${OSDTELETEXT_SIZE}" - - if [ "${OSDTELETEXT_STORETOPTEXT}" = "yes" ]; then - add_plugin_param "-t" - fi - - if [ "${OSDTELETEXT_TMPFS}" = "yes" ]; then - ## test on mountet TMPFS - if /bin/mount | /bin/grep -q ${OSDTELETEXT_DIR} ; then - : - else - einfo_level2 mounting videotext dir ${OSDTELETEXT_DIR} - sudo /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 | /bin/grep -q ${OSDTELETEXT_DIR} ; then - einfo_level2 unmounting videotext dir ${OSDTELETEXT_DIR} - sudo /bin/umount ${OSDTELETEXT_DIR} - fi - fi -} |