- Add sudoers config file,
- Bug fixies, - Change rx3-base to rx3-base-libs dependency.
This commit is contained in:
@@ -46,10 +46,10 @@ fi
|
||||
# Global Variable
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
declare -Ag DNS_A_TAB
|
||||
declare -Ag DNS_A_TAB=()
|
||||
declare -g DNS_A_ID_LIST=""
|
||||
|
||||
declare -Ag DNS_PTR_TAB
|
||||
declare -Ag DNS_PTR_TAB=()
|
||||
declare -g DNS_PTR_ID_LIST=""
|
||||
|
||||
declare -g DNS_CACHE_FILE=""
|
||||
@@ -63,7 +63,7 @@ declare -g DNS_CACHE_UPDATED=0
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
# dns_tab_load
|
||||
# Dns Tab Load
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
dns_tab_load()
|
||||
@@ -106,7 +106,7 @@ dns_tab_load()
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
# dns_tab_save
|
||||
# Dns Tab Save
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
dns_tab_save()
|
||||
@@ -142,7 +142,7 @@ dns_tab_save()
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
# dns_tab_get
|
||||
# Dns Tab Get
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
dns_tab_get()
|
||||
@@ -184,7 +184,7 @@ dns_tab_get()
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
# dns_tab_put
|
||||
# Dns Tab Put
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
dns_tab_put()
|
||||
@@ -212,14 +212,14 @@ dns_tab_put()
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
# dns_lookup
|
||||
# Dns Lookup
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
dns_lookup()
|
||||
{
|
||||
dl_type="$1"
|
||||
dl_key="$2"
|
||||
dl_flag="$3"
|
||||
dl_flag="${3:-"CACHE"}"
|
||||
|
||||
|
||||
if [[ "${dl_flag}" != "NOCACHE" ]]
|
||||
@@ -257,7 +257,7 @@ dns_lookup()
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
# dns_tab_dump
|
||||
# Dns Tab Dump
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
dns_tab_dump()
|
||||
@@ -292,7 +292,7 @@ dns_tab_dump()
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
# dns_host_update
|
||||
# Dns Host Update
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
dns_host_update()
|
||||
@@ -328,7 +328,7 @@ dns_host_update()
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
# dns_init
|
||||
# Dns Init
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
dns_init()
|
||||
@@ -342,7 +342,7 @@ dns_init()
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
# dns_deinit
|
||||
# Dns Deinit
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
dns_deinit()
|
||||
|
||||
Reference in New Issue
Block a user