1 diff -Naur plugins/finnix.sh plugins-new/finnix.sh
2 --- plugins/finnix.sh 1970-01-01 01:00:00.000000000 +0100
3 +++ plugins-new/finnix.sh 2010-03-12 17:55:47.952628480 +0100
7 +#Finnix plugin for multicd.sh
9 +#Copyright (c) 2010 Rorschach
11 +#Permission is hereby granted, free of charge, to any person obtaining a copy
12 +#of this software and associated documentation files (the "Software"), to deal
13 +#in the Software without restriction, including without limitation the rights
14 +#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15 +#copies of the Software, and to permit persons to whom the Software is
16 +#furnished to do so, subject to the following conditions:
18 +#The above copyright notice and this permission notice shall be included in
19 +#all copies or substantial portions of the Software.
21 +#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 +#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 +#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 +#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25 +#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26 +#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
28 +if [ $1 = scan ];then
29 + if [ -f finnix.iso ];then
32 +elif [ $1 = copy ];then
33 + if [ -f finnix.iso ];then
34 + echo "Copying Finnix..."
35 + if [ ! -d finnix ];then
38 + if grep -q "`pwd`/finnix" /etc/mtab ; then
41 + mount -o loop finnix.iso finnix/
42 + # Copies compressed filesystem
43 + cp -r finnix/FINNIX multicd-working/
44 + # Copies kernel, and initramdisk
45 + mkdir multicd-working/boot/finnix
46 + cp finnix/isolinux/linux multicd-working/boot/finnix/
47 + cp finnix/isolinux/linux64 multicd-working/boot/finnix/
48 + cp finnix/isolinux/minirt multicd-working/boot/finnix/
49 + # Copies memdisk and Smart Boot Manager
50 + cp finnix/isolinux/memdisk multicd-working/boot/finnix/
51 + cp finnix/isolinux/sbm.imz multicd-working/boot/finnix/
55 +elif [ $1 = writecfg ];then
56 +if [ -f finnix.iso ];then
57 +cat >> multicd-working/boot/isolinux/isolinux.cfg << "EOF"
59 + MENU LABEL ^Finnix (x86)
60 + kernel /boot/finnix/linux
61 + append finnixfile=/FINNIX/FINNIX initrd=/boot/finnix/minirt apm=power-off vga=791 quiet
64 + MENU LABEL Finnix (AMD64)
65 + kernel /boot/finnix/linux64
66 + append finnixfile=/FINNIX/FINNIX initrd=/boot/finnix/minirt apm=power-off vga=791 quiet
69 + MENU LABEL ^Finnix (x86, textmode)
70 + kernel /boot/finnix/linux
71 + append finnixfile=/FINNIX/FINNIX initrd=/boot/finnix/minirt apm=power-off vga=normal quiet
74 + MENU LABEL ^Finnix (x86, debug mode)
75 + kernel /boot/finnix/linux
76 + append finnixfile=/FINNIX/FINNIX initrd=/boot/finnix/minirt apm=power-off vga=normal debug
79 + MENU LABEL Finnix (AMD64, textmode)
80 + kernel /boot/finnix/linux64
81 + append finnixfile=/FINNIX/FINNIX initrd=/boot/finnix/minirt apm=power-off vga=normal quiet
84 + MENU LABEL Finnix (AMD64, debug mode)
85 + kernel /boot/finnix/linux64
86 + append finnixfile=/FINNIX/FINNIX initrd=/boot/finnix/minirt apm=power-off vga=normal debug
89 + MENU LABEL ^Finnix (failsafe)
90 + kernel /boot/finnix/linux
91 + append finnixfile=/FINNIX/FINNIX initrd=/boot/finnix/minirt vga=normal noapic noacpi pnpbios=off acpi=off nofstab nodma noapm nodhcp nolvm nomouse noeject
94 + MENU LABEL Smart Boot Manager
95 + kernel /boot/finnix/memdisk
96 + append initrd=/boot/finnix/sbm.imz
100 + echo "Usage: $0 {scan|copy|writecfg}"
101 + echo "Use only from within multicd.sh or a compatible script!"
102 + echo "Don't use this plugin script on its own!"
104 diff -Naur plugins/gparted.sh plugins-new/gparted.sh
105 --- plugins/gparted.sh 2009-12-24 00:00:59.000000000 +0100
106 +++ plugins-new/gparted.sh 2010-03-12 17:55:47.952628480 +0100
109 elif [ $1 = copy ];then
110 if [ -f gparted.iso ];then
111 + echo "Copying GParted Live..."
112 if [ ! -d gparted ];then