Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 3 |
liveuser |
1 |
#!/bin/bash
|
|
|
2 |
set -x
|
|
|
3 |
|
|
|
4 |
echo "Running $0"
|
|
|
5 |
|
|
|
6 |
echo Adding "$1 host.ratchet.internal" to /etc/hosts file
|
|
|
7 |
|
|
|
8 |
echo $1 host.ratchet.internal >> /etc/hosts
|
|
|
9 |
|
|
|
10 |
echo /etc/hosts contains:
|
|
|
11 |
cat /etc/hosts
|
|
|
12 |
echo
|