geexbox-generator-0.95/ 0040755 0001750 0001750 00000000000 07745037270 014115 5 ustar aurel aurel geexbox-generator-0.95/iso/ 0040755 0001750 0001750 00000000000 07745037244 014710 5 ustar aurel aurel geexbox-generator-0.95/iso/GEEXBOX/ 0040755 0001750 0001750 00000000000 07745037267 016016 5 ustar aurel aurel geexbox-generator-0.95/iso/GEEXBOX/sbin/ 0040755 0001750 0001750 00000000000 07745037254 016745 5 ustar aurel aurel geexbox-generator-0.95/iso/GEEXBOX/sbin/init 0100755 0001750 0001750 00000011012 07745037244 017625 0 ustar aurel aurel #!/bin/sh
/bin/busybox test ! -e /proc/cpuinfo && /bin/busybox mount -t proc none /proc
/bin/busybox test ! -e /bin/cp && /bin/busybox --install -s
IFS_ORIG=$IFS
if test -n "$CDROM"; then
if test -z "`find "$CDROM" | grep -v /GEEXBOX/ | grep -i '\.\(avi\|divx\|asf\|wmv\|mpeg\|mpg\|mpe\|vob\|m2v\|mp4\|ogm\|mkv\|mka\|rm\|ra\|ram\|rmvb\|mov\|qt\|bin\|mp3\|mp2\|ogg\|wav\|wma\|y4m\|pls\|m3u\|asx\)$'`"; then
test -f /proc/progress && echo "86 ejecting GeeXboX CD" > /proc/progress
test -e /dev/cdrom -a ! -f /EXEC && eject &
fi
fi
test -f /proc/progress && echo "87 launching modules" > /proc/progress
for module in `cat /etc/modules`; do
insmod $module >/dev/null 2>&1
done
test -f /proc/progress && echo "93 setting tv-out" > /proc/progress
tvauto
test -f /proc/progress && echo "95 setting volume" > /proc/progress
echo "" > /etc/asound.conf
amixer sset Master 90% on >/dev/null 2>&1
amixer sset PCM 90% on >/dev/null 2>&1
amixer sset Surround 90% on >/dev/null 2>&1
amixer sset 'Surround Digital' 90% on >/dev/null 2>&1
amixer sset 'Wave Surround' 90% on >/dev/null 2>&1
amixer sset 'Duplicate Front' on >/dev/null 2>&1
amixer sset 'Sigmatel 4-Speaker Stereo' 90% on >/dev/null 2>&1
amixer sset 'IEC958 Output' 90% on >/dev/null 2>&1
test -f /proc/progress && echo "96 launching lirc daemon" > /proc/progress
if test -f /etc/remote; then
. /etc/remote
cp -f /etc/lirc/lircrc_$REMOTE /etc/lircrc
cp -f /etc/lirc/lircd_$REMOTE /etc/lircd
cp -f /etc/lirc/lircd_$REMOTE.conf /etc/lircd.conf
fi
. /etc/lircd
IFS='|'
for module in $LIRC_MODULES; do
insmod $module >/dev/null 2>&1
done
IFS=$IFS_ORIG
lircd --driver=$LIRC_DRIVER --device=$LIRC_DEVICE
test "$DEBUG" = yes || rm -rf /lib/modules
if test -f /etc/network; then
echo "98 setting up networking" > /proc/progress
(
. /etc/network
test -z "$HOST" && HOST=0.0.0.0
if ifconfig eth0 $HOST >/dev/null 2>&1; then
if test $HOST = 0.0.0.0; then
udhcpc -H geexbox -n >/dev/null 2>&1 && NET=yes
test "$NET" = yes || ifconfig eth0 192.168.0.54 && NET=yes
else
NET=yes
fi
if test "$NET" = yes; then
if test -f /etc/bftpd.conf; then
bftpd -d -c /etc/bftpd.conf
fi
if test -x /usr/bin/smbmount; then
IFS='
'
for i in `smbtree -N | sed -n 's/.*\\\\\\\\\(.*\)\\\\\([^\ $]*\)\ .*/\1\/\2/p'`; do
mkdir -p "/mnt/shares/$i"
smbmount "//$i" "/mnt/shares/$i" -o ro,username=$USER,passwd=$PWD >/dev/null 2>&1 || rmdir -p "/mnt/shares/$i" >/dev/null 2>&1
done
fi
fi
fi
) &
fi
test -f /proc/progress && echo "99 setting cdrom speed" > /proc/progress
for DEV in /dev/scd*; do
setcd -x 8 $DEV >/dev/null 2>&1 &
done
test -f /proc/progress && echo "100 launching mplayer" > /proc/progress
cd /mnt
if test -f /etc/lang; then
. /etc/lang
cp -f /etc/mplayer/menu_$LANG.conf /etc/mplayer/menu.conf
cp -f /usr/share/mplayer/help_$LANG.txt /usr/share/mplayer/help.txt
if test $LANG = cz -o $LANG = sk; then
mv /usr/share/mplayer/font/iso-8859-2/* /usr/share/mplayer/font
elif test $LANG = ru; then
mv /usr/share/mplayer/font/koi8r/* /usr/share/mplayer/font
else
mv /usr/share/mplayer/font/iso-8859-1/* /usr/share/mplayer/font
fi
fi
test -e /dev/dvd || ( sed 's/.*DVD.*//' /etc/mplayer/menu.conf > /etc/mplayer/menu.conf.new && mv /etc/mplayer/menu.conf.new /etc/mplayer/menu.conf )
for i in 'Class 0300:.*10de:' 'Class 0300:.*1039:' 'Class 0300:.*104a:0010'; do
grep $i /proc/pci >/dev/null 2>&1 && sed 's/double=.*/double=no/' /etc/mplayer/mplayer.conf > /etc/mplayer/mplayer.conf.new && mv /etc/mplayer/mplayer.conf.new /etc/mplayer/mplayer.conf && echo 'vf=osd' >> /etc/mplayer/mplayer.conf
done
if test -e /usr/bin/autolaunch; then
mkfifo /var/mp_control
sh /usr/bin/autolaunch > /var/mp_control &
fi
/usr/bin/cpd &
if test "$DEBUG" = yes; then
sed 's%ok=\"halt\"/>%ok=\"halt\"/> %' "/etc/mplayer/menu.conf" > /etc/mplayer/menu.conf.new
mv /etc/mplayer/menu.conf.new /etc/mplayer/menu.conf
/bin/sh
fi
if test -x /usr/bin/gdb; then
echo "r /usr/share/mplayer/background.avi -loop 0" > /gdb_cmd
gdb -x /gdb_cmd /usr/bin/mplayer
else
while true; do
mplayer -menu-disp /usr/share/mplayer/background.avi -loop 0 >/dev/null 2>&1
test $? -eq 166 && break
done
fi
for DIR in /mnt/share/*/*; do
test -d "$DIR" && umount "$DIR" >/dev/null 2>&1 && rmdir -p "$DIR"
done
if test -f /EXEC; then
for DIR in /mnt/*; do
test -d "$DIR" && umount "$DIR" >/dev/null 2>&1
done
umount /proc
fi
geexbox-generator-0.95/iso/GEEXBOX/sbin/installator 0100755 0001750 0001750 00000015536 07745037254 021236 0 ustar aurel aurel #!/bin/sh
/bin/busybox mount -t proc none /proc
/bin/busybox --install -s
if [ "$1" = geexbox ]; then
DIALOG=/usr/bin/dialog
CFDISK=/usr/bin/cfdisk
SFDISK=/usr/bin/sfdisk
MKDOSFS=/usr/bin/mkdosfs
SYSLINUX=/usr/bin/syslinux
else
DIALOG=""
[ "$1" != --nodialog ] && DIALOG=`which dialog`
CFDISK=`which cfdisk`
SFDISK=`which sfdisk`
MKDOSFS=`which mkdosfs`
SYSLINUX=`which syslinux`
fi
VERSION=0.95
BACKTITLE="GeeXboX $VERSION installator"
if [ "$UID" != "0" ]; then
if [ -n "$DIALOG" ]; then
$DIALOG --aspect 15 --backtitle "$BACKTITLE" --title "ERROR" --msgbox "\nYour need to be root to install the GeeXboX\n" 0 0
else
echo ""
echo "**** Your need to be root to install the GeeXboX ****"
echo ""
fi
exit 1
fi
if [ -z "$SFDISK" -o -z "$SYSLINUX" ]; then
if [ -n "$DIALOG" ]; then
$DIALOG --aspect 15 --backtitle "$BACKTITLE" --title "ERROR" --msgbox "\nYou need to have syslinux and sfdisk installed to install the GeeXboX\n" 0 0
else
echo ""
echo "**** You need to have syslinux installed to install the GeeXboX ****"
echo ""
fi
exit 1
fi
if [ -n "$DIALOG" ]; then
while true; do
DISKS=`cat /proc/partitions | sed -n "s/\ *[0-9][0-9]*\ *[0-9][0-9]*\ *\([0-9][0-9]*\)\ \([a-z]*\)$/\2 (\1_blocks)/p"`
if [ -z "$DISKS" ]; then
$DIALOG --aspect 15 --backtitle "$BACKTITLE" --title "ERROR" --yesno "\nNo disks found on this system.\nRecheck ?" 0 0 || exit 1
else
DISKS="$DISKS refresh list"
if [ -z "$CFDISK" ]; then
CFDISK_MSG="As you don't have cfdisk installed, the installator wont be able to create the partition for you. You have to do it yourself before installing."
else
CFDISK_MSG="You can now edit your partition table to create this FAT16 partition (type=06). Be carefull to choose the right disk ! We wont be responsible for any data loss."
fi
DISK=`$DIALOG --stdout --backtitle "$BACKTITLE" --title "Installation device" --menu "\nYou are going to install the GeeXboX. For this you will need a PRIMARY FAT16 partition (hdX1 to hdX4) with about 8 MB of free space (max. 1 GB). It WONT work with FAT32 or ext2 partitions.\n$CFDISK_MSG" 0 0 0 $DISKS` ||exit 1
[ $DISK != refresh ] && break
fi
done
$CFDISK /dev/$DISK || exit 1
else
echo ""
echo "You are going to install the GeeXboX. For this you will need a PRIMARY"
echo "FAT16 partition (hdX1 to hdX4) with about 8 MB of free space (max 1 GB)"
echo "It WONT work with FAT32 or ext2 partitions."
echo "This installator wont create the partition. You have to do it yourself"
echo "before installing. And be carefull when you choose the partition"
echo "where to install ! We wont be responsible for any data loss."
echo ""
fi
while [ ! -b "$DEV" ]; do
if [ -n "$DIALOG" ]; then
DISKS=""
for i in `$SFDISK -l | grep FAT16 | grep $DISK | cut -f1 -d' '`; do
S=`$SFDISK -s "$i" | sed 's/\([0-9]*\)[0-9]\{3\}/\1/'`
DISKS="$DISKS $i ${S}MB"
done
if [ -z "$DISKS" ]; then
$DIALOG --aspect 15 --backtitle "$BACKTITLE" --title "ERROR" --msgbox "\nYou don't have any FAT16 partition on your system. Please first create a FAT16 partition usising cfdisk for example.\n" 0 0
exit 1
else
DEV=`$DIALOG --stdout --aspect 15 --backtitle "$BACKTITLE" --title "Installation device" --menu "Where do you want to install GeeXboX ?" 0 0 0 $DISKS` || exit 1
fi
else
read -p "Where do you want to install GeeXboX ? (eg: /dev/hda1) " DEV
echo ""
fi
if [ ! -b "$DEV" ]; then
if [ -n "$DIALOG" ]; then
$DIALOG --aspect 15 --backtitle "$BACKTITLE" --title "ERROR" --msgbox "\n'$DEV' is not a valid block device\n" 0 0
else
echo ""
echo "**** '$DEV' is not a valid block device ****"
echo ""
exit 1
fi
fi
done
if [ -z "$MKDOSFS" ]; then
if [ -n "$DIALOG" ]; then
$DIALOG --aspect 15 --backtitle "$BACKTITLE" --title "Warning" --msgbox "\n'$DEV' need to be a FAT16 partition. As you don't have mkdosfs installed, I won't be able to format the partition. Hope the partition is already formated.\n" 0 0
else
echo "'$DEV' need to be a FAT16 partition."
echo "As you don't have mkdosfs installed, I won't be able to format the"
echo "partition Hope the partition is already formated."
fi
else
if [ -n "$DIALOG" ]; then
$DIALOG --aspect 15 --backtitle "$BACKTITLE" --title "Formating" --defaultno --yesno "\nDo you want to format '$DEV' in FAT16 ?\n" 0 0 && FORMAT=yes
else
read -p "Do you want to format $DEV in FAT16 ? (yes/no) " FORMAT
fi
fi
echo ""
[ "$FORMAT" = yes ] && $MKDOSFS -n GEEXBOX "$DEV"
mkdir di
mount -t vfat "$DEV" di
if [ -d disk ]; then
cp -a disk/* di
else
cp -a "$CDROM/GEEXBOX" di
mv di/GEEXBOX/boot/* di
rm di/isolinux.bin
sed 's/TIMEOUT.*//' di/isolinux.cfg > di/syslinux.cfg
sed 's/PROMPT.*//' di/syslinux.cfg > di/isolinux.cfg
sed "s/boot=cdrom/boot=${DEV#/dev/}/" di/isolinux.cfg > di/syslinux.cfg
rm di/isolinux.cfg
fi
umount di
rmdir di
syslinux "$DEV"
if [ -n "$DIALOG" ]; then
`$DIALOG --backtitle "$BACKTITLE" --title "Bootloader" --defaultno --yesno "\n'$DEV' is now a bootable partition. To boot on it, you will need to install a bootloader. If you don't have any other operating system on this hard disk, I can install a bootloader for you. Else, you will need to configure yourself a boot menu such as lilo.\n\nDo you want to install a single system bootloader ?\n" 0 0` && MBR=yes
else
echo ""
echo "'$DEV' is now a bootable partition. To boot on it, you will need to"
echo "install a bootloader. If you don't have any other operating system on"
echo "this hard disk, I can install a bootloader for you. Else, you will"
echo "need to configure yourself a boot menu such as lilo."
echo ""
read -p "Do you want to install a single system bootloader ? (yes/no) " MBR
fi
if [ "$MBR" = yes ]; then
dd if=mbr.bin of="${DEV%%[0-9]*}"
PART="${DEV#/dev/$DISK}"
echo ",,,*" | $SFDISK "/dev/$DISK" -N$PART
else
if [ -n "$DIALOG" ]; then
$DIALOG --aspect 15 --backtitle "$BACKTITLE" --title "Bootloader" --msgbox "\nYou can configure lilo to boot the GeeXboX simply by adding thoses lines at the end of your /etc/lilo.conf :\n\n other=$DEV\n label=GeeXboX\n\nDon't forget to execute lilo after doing this modification.\n\nIf you only use windows, you may have a look at a boot menu such as XOSL (http://www.xosl.org/)." 0 0
else
echo ""
echo "You can configure lilo to boot the GeeXboX simply by adding thoses"
echo "lines at the end of your /etc/lilo.conf :"
echo " other=$DEV"
echo " label=GeeXboX"
echo "Don't forget to execute lilo after doing this modification."
fi
fi
[ -n "$CDROM" ] && eject &
if [ -n "$DIALOG" ]; then
$DIALOG --aspect 15 --backtitle "$BACKTITLE" --title "Have Fun" --msgbox "\nThe GeeXboX is now installed on '$DEV'\n" 0 0
else
echo ""
echo "**** The GeeXboX is now installed on $DEV ****"
echo ""
fi
geexbox-generator-0.95/iso/GEEXBOX/boot/ 0040755 0001750 0001750 00000000000 07745037260 016752 5 ustar aurel aurel geexbox-generator-0.95/iso/GEEXBOX/boot/vmlinuz 0100644 0001750 0001750 00005022557 07745037245 020421 0 ustar aurel aurel ظ )) ?؎Љx d7W_E$d?dGs
1һ r0 10 +8v+| P X(uh 7 utt $t u1 ;vá+ s t1) - ``. aTAՋTց RQSPr/aÉ;u
1DuD1 s 1P 00
a뛹 Q sE(X: Yø
ù V '@'10 $
Loading
@ !U.HdrS * f 7 Ȏ>UuK>ZZuC? t PQ0 YXðNo setup signature found ... Oȃ 0 . ) Ȏ>Uu
>ZZu
6rsȃ . t..> u&6PWrong loader, giving up... f1ff1ۿf fPAMSf r f=PAMSu< }f u11Ҹr* u uf fff f 116ȃ P Q16Y rtȃ 1ȃ 1 r!،ȃ r ȃ t @ S1rfMPu`t[S1Sf111f11r