Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- prompt=
- prompt="${prompt}base.txz [ Done ]\n"
- prompt="${prompt}dict.txz [ Failed ]\n"
- prompt="${prompt}doc.txz [\Zr\Z4 \Zb 70%\ZB\ZR ]\n"
- prompt="${prompt}games.txz [ Pending ]\n"
- prompt="${prompt}ports.txz [ Pending ]\n"
- prompt="$prompt\n"
- prompt="${prompt}Fetching distribution files...\n"
- prompt="$prompt\n"
- prompt="$prompt \ZbOverall Progress:\Zn\n"
- prompt2=
- prompt2="${prompt2}base.txz [ Done ]\n"
- prompt2="${prompt2}dict.txz [ Failed ]\n"
- prompt2="${prompt2}doc.txz [\Zr\Z4 \Zb 95%\ZB \ZR ]\n"
- prompt2="${prompt2}games.txz [ Pending ]\n"
- prompt2="${prompt2}ports.txz [ Pending ]\n"
- prompt2="$prompt2\n"
- prompt2="${prompt2}Fetching distribution files...\n"
- prompt2="$prompt2\n"
- prompt2="$prompt2 \ZbOverall Progress:\Zn\n"
- prompt3=
- prompt3="${prompt3}base.txz [ Done ]\n"
- prompt3="${prompt3}dict.txz [ Failed ]\n"
- prompt3="${prompt3}doc.txz [ Done ]\n"
- prompt3="${prompt3}games.txz [\Zr\Z4 \ZR\Zb 33%\ZB ]\n"
- prompt3="${prompt3}ports.txz [ Pending ]\n"
- prompt3="$prompt3\n"
- prompt3="${prompt3}Fetching distribution files...\n"
- prompt3="$prompt3\n"
- prompt3="$prompt3 \ZbOverall Progress:\Zn\n"
- prompt4=
- prompt4="${prompt4}base.txz [ Done ]\n"
- prompt4="${prompt4}dict.txz [ Failed ]\n"
- prompt4="${prompt4}doc.txz [ Done ]\n"
- prompt4="${prompt4}games.txz [\Zr\Z4 \Zb 71%\ZB \ZR ]\n"
- prompt4="${prompt4}ports.txz [ Pending ]\n"
- prompt4="$prompt4\n"
- prompt4="${prompt4}Fetching distribution files...\n"
- prompt4="$prompt4\n"
- prompt4="$prompt4 \ZbOverall Progress:\Zn\n"
- prompt5=
- prompt5="${prompt5}base.txz [ Done ]\n"
- prompt5="${prompt5}dict.txz [ Failed ]\n"
- prompt5="${prompt5}doc.txz [ Done ]\n"
- prompt5="${prompt5}games.txz [ Done ]\n"
- prompt5="${prompt5}ports.txz [\Zr\Z4\ZR \Zb 1%\ZB ]\n"
- prompt5="$prompt5\n"
- prompt5="${prompt5}Fetching distribution files...\n"
- prompt5="$prompt5\n"
- prompt5="$prompt5 \ZbOverall Progress:\Zn\n"
- prompt6=
- prompt6="${prompt6}base.txz [ Done ]\n"
- prompt6="${prompt6}dict.txz [ Failed ]\n"
- prompt6="${prompt6}doc.txz [ Done ]\n"
- prompt6="${prompt6}games.txz [ Done ]\n"
- prompt6="${prompt6}ports.txz [\Zr\Z4 \ZR \Zb 20%\ZB ]\n"
- prompt6="$prompt6\n"
- prompt6="${prompt6}Fetching distribution files...\n"
- prompt6="$prompt6\n"
- prompt6="$prompt6 \ZbOverall Progress:\Zn\n"
- prompt7=
- prompt7="${prompt7}base.txz [ Done ]\n"
- prompt7="${prompt7}dict.txz [ Failed ]\n"
- prompt7="${prompt7}doc.txz [ Done ]\n"
- prompt7="${prompt7}games.txz [ Done ]\n"
- prompt7="${prompt7}ports.txz [\Zr\Z4 \Zb \ZR40%\ZB ]\n"
- prompt7="$prompt7\n"
- prompt7="${prompt7}Fetching distribution files...\n"
- prompt7="$prompt7\n"
- prompt7="$prompt7 \ZbOverall Progress:\Zn\n"
- prompt8=
- prompt8="${prompt8}base.txz [ Done ]\n"
- prompt8="${prompt8}dict.txz [ Failed ]\n"
- prompt8="${prompt8}doc.txz [ Done ]\n"
- prompt8="${prompt8}games.txz [ Done ]\n"
- prompt8="${prompt8}ports.txz [\Zr\Z4 \Zb 60\ZR%\ZB ]\n"
- prompt8="$prompt8\n"
- prompt8="${prompt8}Fetching distribution files...\n"
- prompt8="$prompt8\n"
- prompt8="$prompt8 \ZbOverall Progress:\Zn\n"
- prompt9=
- prompt9="${prompt9}base.txz [ Done ]\n"
- prompt9="${prompt9}dict.txz [ Failed ]\n"
- prompt9="${prompt9}doc.txz [ Done ]\n"
- prompt9="${prompt9}games.txz [ Done ]\n"
- prompt9="${prompt9}ports.txz [\Zr\Z4 \Zb 80%\ZB \ZR ]\n"
- prompt9="$prompt9\n"
- prompt9="${prompt9}Fetching distribution files...\n"
- prompt9="$prompt9\n"
- prompt9="$prompt9 \ZbOverall Progress:\Zn\n"
- prompt10=
- prompt10="${prompt10}base.txz [ Done ]\n"
- prompt10="${prompt10}dict.txz [ Failed ]\n"
- prompt10="${prompt10}doc.txz [ Done ]\n"
- prompt10="${prompt10}games.txz [ Done ]\n"
- prompt10="${prompt10}ports.txz [ Done ]\n"
- prompt10="$prompt10\n"
- prompt10="${prompt10}Fetching distribution files...\n"
- prompt10="$prompt10\n"
- prompt10="$prompt10 \ZbOverall Progress:\Zn\n"
- ( sleep 1
- printf "XXX\n%s\nXXX\n%u\n" "$prompt2" 80
- sleep 1
- printf "XXX\n%s\nXXX\n%u\n" "$prompt3" 90
- sleep 1
- printf "XXX\n%s\nXXX\n%u\n" "$prompt4" 91
- sleep 1
- printf "XXX\n%s\nXXX\n%u\n" "$prompt5" 95
- sleep 1
- printf "XXX\n%s\nXXX\n%u\n" "$prompt6" 96
- sleep 1
- printf "XXX\n%s\nXXX\n%u\n" "$prompt7" 97
- sleep 1
- printf "XXX\n%s\nXXX\n%u\n" "$prompt8" 98
- sleep 1
- printf "XXX\n%s\nXXX\n%u\n" "$prompt9" 99
- sleep 1
- printf "XXX\n%s\nXXX\n%u\n" "$prompt10" 100
- sleep 1
- ) | dialog --title 'Fetching Distribution' \
- --backtitle 'FreeBSD Installer' \
- --colors --gauge "$prompt" 14 46 60
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement