Revision 8306820f
b/clear-tap | ||
---|---|---|
48 | 48 |
} |
49 | 49 |
|
50 | 50 |
|
51 |
if [ $# -ne 2 ]; then
|
|
51 |
if [ $# -ne 1 ]; then
|
|
52 | 52 |
echo "Usage: $0 <tap>" |
53 | 53 |
exit 1 |
54 | 54 |
fi |
b/snf-network-ipless-routing-off | ||
---|---|---|
12 | 12 |
|
13 | 13 |
source $STATE_DIR/infra |
14 | 14 |
|
15 |
if [ $# -ne 6 ]; then
|
|
15 |
if [ $# -ne 5 ]; then
|
|
16 | 16 |
echo "Usage: $0 <routing table> <subnet> <gateway> <subnet6> <gateway6>" |
17 | 17 |
exit 1 |
18 | 18 |
fi |
b/snf-network-ipless-routing-on | ||
---|---|---|
12 | 12 |
|
13 | 13 |
source $STATE_DIR/infra |
14 | 14 |
|
15 |
if [ $# -ne 6 ]; then
|
|
15 |
if [ $# -ne 5 ]; then
|
|
16 | 16 |
echo "Usage: $0 <routing table> <subnet> <gateway> <subnet6> <gateway6>" |
17 | 17 |
exit 1 |
18 | 18 |
fi |
b/snf-network-masq-off | ||
---|---|---|
12 | 12 |
|
13 | 13 |
source $STATE_DIR/infra |
14 | 14 |
|
15 |
if [ $# -ne 4 ]; then
|
|
15 |
if [ $# -ne 3 ]; then
|
|
16 | 16 |
echo "Usage: $0 <masq bridge> <subnet> <gateway>" |
17 | 17 |
exit 1 |
18 | 18 |
fi |
b/snf-network-masq-on | ||
---|---|---|
12 | 12 |
|
13 | 13 |
source $STATE_DIR/infra |
14 | 14 |
|
15 |
if [ $# -ne 4 ]; then
|
|
15 |
if [ $# -ne 3 ]; then
|
|
16 | 16 |
echo "Usage: $0 <masq bridge> <subnet> <gateway>" |
17 | 17 |
exit 1 |
18 | 18 |
fi |
Also available in: Unified diff