You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
341 B

  1. #! /bin/sh
  2. set -e
  3. i=0
  4. for srv in $new_domain_name_servers; do
  5. echo "nameserver[$i] $srv"
  6. i=$(($i+1))
  7. done
  8. i=0
  9. for srv in $new_domain_name; do
  10. echo "Domain search list[$i] $srv"
  11. i=$(($i+1))
  12. done
  13. i=0
  14. for srv in $new_ntp_servers; do
  15. echo "NTP server[$i] $srv"
  16. i=$(($i+1))
  17. done
  18. echo "end"
  19. touch /var/lib/netcfg/dhcp6c-finished
  20. exit 0