11.22.33.44.ipconf-- 193 B

12345678910
  1. #!/bin/sh
  2. # If we have simple static address...
  3. #
  4. let cfg=cfg+1
  5. if[$cfg]=if
  6. ip[$cfg]=11.22.33.44
  7. ipmask[$cfg]=11.22.33.44/24
  8. gw[$cfg]=11.22.33.1
  9. net[$cfg]=0/0
  10. dns[$cfg]='11.22.33.2 11.22.33.3'