Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- clear
- sleep 0.5
- echo ""
- echo "PLEASE SELECT AN OPTION TO CONTINUE"
- echo "WITH LAUNCHING SUBTERFUGE..."
- echo ""
- echo "1 = START ON DEFAULT PORT [80]"
- echo "2 = SELECT ALTERNATE PORT NUMBER"
- echo ""
- echo "OPTION NUMBER: \c"
- read option
- if [ $option = "1" ]; then
- sleep 1
- xterm -e subterfuge -s 127.0.0.1:80 &
- sleep 4
- firefox 127.0.0.1:80
- else
- if [ $option = "2" ]; then
- sleep 1
- echo ""
- echo "WHAT PORT WOULD YOU LIKE TO USE? \c"
- read port
- sleep 1
- xterm -e subterfuge -s 127.0.0.1:$port &
- sleep 4
- firefox 127.0.0.1:$port
- fi
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement