Set static resolvers from the preferences pane.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#! /bin/sh
|
||||
|
||||
. ./common.inc
|
||||
|
||||
[ -r "$STATIC_RESOLVERS_FILE" ] && cat "$STATIC_RESOLVERS_FILE"
|
||||
@@ -13,5 +13,5 @@ done
|
||||
if [ "$servers" = "" ]; then
|
||||
rm -f "$STATIC_RESOLVERS_FILE"
|
||||
else
|
||||
echo "$servers" > "$STATIC_RESOLVERS_FILE"
|
||||
echo "$servers" | sed 's/^ *//;s/ *$//' > "$STATIC_RESOLVERS_FILE"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user