From c849f2898257df19fddb97ac99c392c410f120d1 Mon Sep 17 00:00:00 2001 From: Martin Prochnow Date: Fri, 31 Mar 2006 19:31:30 +0200 Subject: Version 0.8a - fixed problem when open the plugin while replaying a archive dvd; thanks to Monroe from vdr-portal.de for reporting - new version of 'dvdarchive.sh'; thanks to vejoun from vdr-portal.de - updated finnish translation; thanks to Rolf Ahrenberg --- scripts/dvdarchive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/dvdarchive.sh b/scripts/dvdarchive.sh index dfdee0a..3dc0c71 100755 --- a/scripts/dvdarchive.sh +++ b/scripts/dvdarchive.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Version 1.1 2006-03-27 +# Version 1.2 2006-03-30 # # Exitcodes: # @@ -24,7 +24,7 @@ MOUNTPOINT="/media/cdrom" # no trailing '/'! # -DEVICE="$(grep "$MOUNTPOINT" /etc/fstab | head -n1 | awk '{ print $1; }')" # dvd-device, used by isodetect if exists +DEVICE="$(awk '( $1 !~ /^#/ ) && ( $2 == "'$MOUNTPOINT'" ) { print $1; exit; }' /etc/fstab)" # dvd-device, used by isodetect if exists REC="$2" NAME="$3" -- cgit v1.2.3