10 lines
		
	
	
		
			483 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			483 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/ksh
 | |
| 
 | |
| export PATH=$PATH:/bin:/usr/bin:/sbin:/usr/sbin:/opt/conn/bin:
 | |
| export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/lib:/opt/conn/lib:
 | |
| 
 | |
| env > /tmp/scp/config
 | |
| 
 | |
| # send an event to the ConnMngrService for it is the safes way to get the applied nameservers for this interface.
 | |
| /opt/conn/bin/sendcall -d /dev/scp_pss -e ConnMngrService -n DHCP_CLIENT_IF_UP -p "ifName='$INTERFACE' ipAddr='$IPADDRESS' snMask='$NETMASK' gateway='$GATEWAY' dns1='$NAMESERVER1' dns2='$NAMESERVER2'"
 |