File: print-dhcp6c-info

package info (click to toggle)
netcfg 1.160
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,532 kB
  • sloc: ansic: 5,361; sh: 183; makefile: 77
file content (25 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/sh
set -e

i=0
for srv in $new_domain_name_servers; do
	echo "nameserver[$i] $srv"
	i=$(($i+1))
done

i=0
for srv in $new_domain_name; do
	echo "Domain search list[$i] $srv"
	i=$(($i+1))
done

i=0
for srv in $new_ntp_servers; do
	echo "NTP server[$i] $srv"
	i=$(($i+1))
done

echo "end"
touch /var/lib/netcfg/dhcp6c-finished

exit 0