Hi im new to writing shell scripts and im stuck.
im trying to write a script like of takedown.
this is what i have so far:
#!/bin/bash
clear
echo -e '\a'
echo
"=============================================================================
SSSSS AAAAA SSSSS
SSSSSSS AAAAAAA SSSSSSS
SSS SSS AAA AAA SSS SSS
SSS AAA AAA SSS
SSSSS AAA AAA SSSSS
SSSSS AAAAAAAAA SSSSS
SSSSS AAAAAAAAA SSSSS
SSSS AAA AAA SSSS
SSS AAA AAA SSS
SSS SSS AAA AAA SSS SSS
SSSSSSSS X X AAA AAA X X SSSSSSSS X X
SSSSSS X X AAA AAA X X SSSSSS X X
=============================================================================
SWITCHED ACCESS SERVICES
A0344462 ISSUE 2
RELEASE NOTES
This equiptment generates, uses, and can radiate radio waves.
CAUTION: if not installed and used in accordance to the DEA752A act
evideance is unusable.
Welcome to the LAPD Switched Access Services please login with your user and pass."
what i want to do is make a login script and make it so people can telnet to my system and see this.
and after they login i want it to say welcome (there user name ) and ask them what number they would like to listen in to.
and when they submite the number i want another shell script to play an audio file audio
sorry for asking for so much but i i been researching for weeks and no look
thanks in advance