fixed locale bug in wdns

This commit is contained in:
Matthew Connelly 2015-02-23 23:37:56 +00:00
parent a2264b2e07
commit 6e33560d01
1 changed files with 1 additions and 1 deletions

2
wdns
View File

@ -1,6 +1,6 @@
#TODO: Make the creation and management of reverse zones easier.
#TODO: Make the 'zones' file easier to manage. Automate creation, editing and removal of entries.
RAND=$(cat /dev/urandom|tr -cd "[:alnum:]"|head -c 8)
RAND=$(LC_CTYPE=C;cat /dev/urandom|tr -cd "[:alnum:]"|head -c 8)
FILETOEDIT=""
ORIGDIR="/usr/local/etc/namedb"
SUBDIR=""