gpt-2741gnac_root_files/_mtdblock5.img.extracted/squashfs-root/usr/script/dhcp6c_script
2023-11-26 03:26:24 -03:00

15 lines
338 B
Bash
Executable file

#!/bin/sh
rm -rf $1
for nameserver in $new_domain_name_servers; do
echo nameserver=$nameserver >> $1
done
if [ -n "$new_domain_name" ] ; then
echo dnsname=$new_domain_name >> $1
fi
if [ -n "$dslite_address" ] ; then
echo dslite_address=$dslite_address >> $1
fi
if [ -n "$dslite_name" ] ; then
echo dslite_name=$dslite_name >> $1
fi