Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

Commit

Permalink
regression on script definition
Browse files Browse the repository at this point in the history
Former-commit-id: 9b12702640f61c4624562e386de2e2e8461b1222 [formerly 9b12702640f61c4624562e386de2e2e8461b1222 [formerly 2ea9d78]]
Former-commit-id: 6d1acb0
Former-commit-id: 853b995
Former-commit-id: f920432
  • Loading branch information
maoo committed Aug 1, 2014
1 parent 64f20cd commit cbf1820
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/scripts/static-ip.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
STATIC_IP=$1
GW_IP=$2
NETMASK=$3

echo 'auto eth1' >> /etc/network/interfaces
echo 'iface eth1 inet static' >> /etc/network/interfaces
echo 'address '$STATIC_IP >> /etc/network/interfaces
Expand Down

0 comments on commit cbf1820

Please sign in to comment.