mirror of
https://github.com/unraid/webgui.git
synced 2026-02-21 17:29:15 -06:00
scripts dutchification - batch 1
This commit is contained in:
@@ -25,8 +25,8 @@ mask(){
|
||||
}
|
||||
|
||||
dns() {
|
||||
[[ $1 == 4 ]] && addr='(\d{1,3}\.){3}\d+' || addr='([0-9a-fA-F]{1,4}::?){1,7}[0-9a-fA-F]*'
|
||||
grep -Po "^nameserver \K$addr" /etc/resolv.conf
|
||||
[[ $1 == 4 ]] && ADDR='(\d{1,3}\.){3}\d+' || ADDR='([0-9a-fA-F]{1,4}::?){1,7}[0-9a-fA-F]*'
|
||||
grep -Po "^nameserver \K$ADDR" /etc/resolv.conf
|
||||
}
|
||||
|
||||
if [[ -s $CFG ]]; then
|
||||
|
||||
Reference in New Issue
Block a user