Initial commit.

This commit is contained in:
2015-11-06 00:41:56 +01:00
commit 72d76f6029
5 changed files with 513 additions and 0 deletions

10
ppp-dnsupdate.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
[ -f "/etc/sysconfig/network-scripts/ifcfg-${6}" ] && . /etc/sysconfig/network-scripts/ifcfg-${6}
if [[ $# -l 6 ]]; then
exit 0
fi
/usr/bin/dnsupdate "${6}" "${4}"