remove unwanted files

This commit is contained in:
Stephan Raue 2009-03-18 20:59:26 +01:00
parent abb023506c
commit 09411d9782
3 changed files with 0 additions and 38925 deletions

View File

@ -1,33 +0,0 @@
#!/bin/sh
#
# eject CD if booted from cdrom and their is no media files on it
#
# runlevels: geexbox, debug, configure
if test -n "$CDROM"; then
echo "### Eject CDROM ###"
(
# add recognized files extension to the EXTS list
for i in `cat /etc/file_ext`; do
if [ -z "$EXTS" ]; then
EXTS="$i"
else
EXTS="$EXTS\|$i"
fi
done
# add recognized images extension to the EXTS list
if [ -x /usr/bin/fbi -a -e /dev/fb0 ]; then
for i in `cat /etc/img_ext`; do EXTS="$EXTS\|$i"; done
fi
# add recognized playlists extension to the EXTS list
for i in `cat /etc/list_ext`; do EXTS="$EXTS\|$i"; done
# check if their is recognized media files on the CD
if [ -z "`find "$CDROM" | grep -v /GEEXBOX/ | grep -i "\.\($EXTS\)\$"`" ]; then
# eject the CD
[ -e /dev/cdrom ] && eject -s /dev/cdrom
fi
)&
fi
exit 0

View File

@ -1,9 +0,0 @@
# progress bar position
BAR_LEFT=170
BAR_TOP=300
BAR_WIDTH=300
BAR_HEIGHT=20
# progress bar color
BAR_R=80
BAR_G=80
BAR_B=130

File diff suppressed because it is too large Load Diff