|
|
|
@ -3,10 +3,15 @@ |
|
|
|
sleep 1 |
|
|
|
sleep 1 |
|
|
|
|
|
|
|
|
|
|
|
dialog --menu " " 20 80 10 \ |
|
|
|
dialog --menu " " 20 80 10 \ |
|
|
|
send_pc "Send /dev/sda1 image (partclone)" \ |
|
|
|
recv_pc "Receive image for /dev/sda1 (partclone+lzop)" \ |
|
|
|
|
|
|
|
recv_sfd "Receive partition table for /dev/sdaa (sfdisk)" \ |
|
|
|
|
|
|
|
recv_dd "Receive MBR for /dev/sda (dd)" \ |
|
|
|
|
|
|
|
send_pc "Send /dev/sda1 image (partclone+lzop)" \ |
|
|
|
send_sfd "Send /dev/sda partition table (sfdisk)" \ |
|
|
|
send_sfd "Send /dev/sda partition table (sfdisk)" \ |
|
|
|
send_dd "Send /dev/sda MBR (dd)" \ |
|
|
|
send_dd "Send /dev/sda MBR (dd)" \ |
|
|
|
shell "Run root shell" 2>/tmp/menu |
|
|
|
shell "Run root shell" \ |
|
|
|
|
|
|
|
reboot "Reboot system" \ |
|
|
|
|
|
|
|
2>/tmp/menu |
|
|
|
|
|
|
|
|
|
|
|
if [ "$?" != "0" ]; then CHOICE="shell"; else CHOICE=$(cat /tmp/menu); fi |
|
|
|
if [ "$?" != "0" ]; then CHOICE="shell"; else CHOICE=$(cat /tmp/menu); fi |
|
|
|
|
|
|
|
|
|
|
|
|