Change links to public ones, remove old branding
This commit is contained in:
parent
3df631352c
commit
ad1c845b02
@ -38,7 +38,7 @@ set MYWBMP=/_ISO/mybackground.bmp
|
||||
# start the heading with \x20 if you need leading spaces.
|
||||
# special variables can be used. %B64% is CPU type + Memory size - e.g. [486MB 64-bit]; %VER% is E2B version - e.g. 1.65; use %@date% or %day%-%month%-%year% for date
|
||||
|
||||
set HEADING=\x20 Liquid Web SMR USB - MAIN MENU (%VER%) %B64%
|
||||
set HEADING=\x20 Rescue USB - MAIN MENU (%VER%) %B64%
|
||||
|
||||
# Heading position is set by HEADPOS + HPAD - all menu headings affected (must be 4 decimal numbers)
|
||||
# set start position of HEADING using HEADPOS=YYXX - default position = HEADPOS=0000 = top-left, 0200 = 3rd line down - should always end in 00 if you use CENTREHD=1
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.4 MiB |
@ -11,7 +11,7 @@ command -v wipefs >/dev/null 2>&1 || { echo >&2 "I require wipefs but it's not i
|
||||
|
||||
script="$0"
|
||||
basename="$(dirname $script)"
|
||||
DIR="/home/temp/smrusb"
|
||||
DIR="/home/temp/rescueusb"
|
||||
|
||||
#Warn user that this will detroit the things
|
||||
echo "This will destroy all data and partitions on the device name you enter without further warning!!"
|
||||
@ -72,7 +72,7 @@ then
|
||||
|
||||
#Fetch Easy2Boot
|
||||
echo "Fetching Easy2Boot..."
|
||||
wget -O $DIR/E2B.zip "http://files.sysres.liquidweb.com/usbkey/smrusb-4-0/Easy2Boot_v1.93A.zip" > /dev/null 2>&1
|
||||
wget -O $DIR/E2B.zip "http://files.easy2boot.com/200003511-5bf395cedc/Easy2Boot_v1.A9.zip" > /dev/null 2>&1
|
||||
|
||||
#Extract it
|
||||
echo "Extracting Easy2Boot..."
|
||||
@ -107,10 +107,22 @@ then
|
||||
cp -r -i $DIR/* /mnt/myusb > /dev/null 2>&1
|
||||
|
||||
#Fetch ISOs to device
|
||||
echo "Copying ISOs from files.sysres to the USB..."
|
||||
echo "Copying ISOs from internet to the USB..."
|
||||
pushd $DIR
|
||||
wget -O $DIR/chntpw.zip http://pogostick.net/~pnh/ntpasswd/cd140201.zip > /dev/null 2>&1
|
||||
unzip chntpw.zip
|
||||
cp cd140201.iso /mnt/myusb/_ISO/MAINMENU/chntpw.iso
|
||||
wget -O $DIR/clonezilla.iso https://downloads.sourceforge.net/project/clonezilla/clonezilla_live_stable/2.6.0-37/clonezilla-live-2.6.0-37-amd64.iso > /dev/null 2>&1
|
||||
cp clonezilla.iso /mnt/myusb/_ISO/MAINMENU/
|
||||
wget -O $DIR/supergrub2disk.iso https://downloads.sourceforge.net/project/supergrub2/2.02s10/super_grub2_disk_2.02s10/super_grub2_disk_hybrid_2.02s10.iso > /dev/null 2>&1
|
||||
cp supergrub2disk.iso /mnt/myusb/_ISO/MAINMENU/
|
||||
wget -O $DIR/systemrescuecd.iso https://osdn.net/projects/systemrescuecd/storage/releases/6.0.2/systemrescuecd-6.0.2.iso > /dev/null 2>&1
|
||||
popd > /dev/null 2>&1
|
||||
pushd /mnt/myusb/_ISO/MAINMENU/ > /dev/null 2>&1
|
||||
wget -nd -e robots=off -r --no-parent /mnt/myusb/_ISO/MAINMENU/ http://files.sysres.liquidweb.com/iso/for-usb/ --reject index.htm* > /dev/null 2>&1
|
||||
wget -nd -e robots=off -r --no-parent /mnt/myusb/_ISO/MAINMENU/ http://repo.win.liquidweb.com/tools/WinPE_Fixer.iso --reject index.htm* > /dev/null 2>&1
|
||||
wget -nd -e robots=off -r --no-parent /mnt/myusb/_ISO/MAINMENU/ http://files.tfmm.co/isos/ --reject index.htm* > /dev/null 2>&1
|
||||
mv acti-new.iso acronis-new.iso
|
||||
mv acti-2012.iso acronis-2012.iso
|
||||
mv WPEF.iso WinPE_Fixer.iso
|
||||
popd > /dev/null 2>&1
|
||||
|
||||
#Use E2B's defragger
|
||||
@ -130,12 +142,9 @@ then
|
||||
umount $DIR/isomount > /dev/null 2>&1
|
||||
|
||||
#Get files to Update Menu settings
|
||||
echo "Fetching menu config files..."
|
||||
wget -O /mnt/myusb/_ISO/menu_defaults.txt http://files.sysres.liquidweb.com/usbkey/smrusb-4-0/menu_defaults.txt > /dev/null 2>&1
|
||||
wget -O /mnt/myusb/_ISO/MyE2B.cfg http://files.sysres.liquidweb.com/usbkey/smrusb-4-0/MyE2B.cfg > /dev/null 2>&1
|
||||
|
||||
#Get background
|
||||
#wget -O /mnt/myusb/_ISO/mybackground.bmp http://files.sysres.liquidweb.com/usbkey/smrusb-4-0/mybackground.bmp > /dev/null 2>&1
|
||||
echo "Placing menu config files..."
|
||||
cp resources/menu_defaults.txt /mnt/myusb/_ISO/menu_defaults.txt > /dev/null 2>&1
|
||||
cp resources/MyE2B.cfg /mnt/myusb/_ISO/MyE2B.cfg > /dev/null 2>&1
|
||||
|
||||
#Remove working dir
|
||||
echo "Removing working directory..."
|
||||
|
Loading…
Reference in New Issue
Block a user