Rozdiely pre scripts/shell/ssh-utils/put medzi verziami 1.6 a 1.7
| verzia 1.6, 2003/11/22 19:29:45 |
verzia 1.7, 2003/11/28 17:33:37 |
|
|
| # |
# |
| |
|
| # |
# |
| # $Platon: scripts/shell/ssh-utils/put,v 1.5 2003/11/22 19:18:02 nepto Exp $ |
# $Platon: scripts/shell/ssh-utils/put,v 1.6 2003/11/22 19:29:45 nepto Exp $ |
| # |
# |
| |
|
| user=''; |
user=''; |
| Riadok 42 if [ "$#" -lt 1 ]; then |
|
| Riadok 42 if [ "$#" -lt 1 ]; then |
|
| exit 1; |
exit 1; |
| fi |
fi |
| |
|
| echo -en "login name: "; |
echo -en "username: "; |
| read user; |
read user; |
| echo -en "hostname : "; |
echo -en "hostname: "; |
| read machine; |
read machine; |
| |
|
| if [ -z "$user" ] || [ -z "$machine" ]; then |
if [ -z "$user" ] || [ -z "$machine" ]; then |
| echo "No login_name or hostname specified, exiting ..."; |
echo "No username or hostname specified."; |
| exit 1; |
exit 1; |
| fi |
fi |
| |
|
Platon Group <platon@platon.sk> http://platon.sk/
|
|