linux/tools/hv/hv_get_dns_info.sh
<<
>>
Prefs
>
c6/39/ac4bedaaa70203dfc8e924c044ae4eb7a91a_3/0n> ns_info.ick="return ajax_prefs();">#L1rm> L1rmeturn=toinermue="">L1r>cfi1acti#!/bin/bash ns_info.ick="return ajax_prefs();">#L2rm> L2rmeturn=toinermue="">L2r>cfi2actio ns_info.ick="return ajax_prefs();">#L3rm> L3rmeturn=toinermue="">L3r>cfi3acti# T"na example script parses /etc/tenolv. 0if to amerive DNS fs()rmaetur.o ns_info.ick="return ajax_prefs();">#L4rm> L4rmeturn=toinermue="">L4r>cfi4acti# Irm>he fstetent of keepdivm>he KVP daemormcode free of distro specifico ns_info.ick="return ajax_prefs();">#L5rm> L5rmeturn=toinermue="">L5r>cfi5acti# fs()rmaetur;m>he kvp daemormcode invokes t"na extetnal script to ga>hero ns_info.ick="return ajax_prefs();">#L6rm> L6rmeturn=toinermue="">L6r>cfi6acti# DNS fs()rmaetur.o ns_info.ick="return ajax_prefs();">#L7rm> L7;">#L5rm> L5rmeturn=7r>cfi" /etc/tenolscript na expected to prfstm>he metuserverass="hs to stdout.o ns_info.ick="return ajax_prefs();">#L8rm> L8;">#L5rm> L5rmeturn=8r>cfi8 /etc/Each Distro na expected to implemestm>hnolscript n/sp distro specifico ns_info.ick="return ajax_prefs();">#L9rm> L9;">#L5rm> L5rmeturn=9r>cfi9 /etc/fashtur. For n/a> nce on Distros t"at shtp with Network Manageraenabled,o ns_info.ick="return ajax_prefs();">#L10rm> L10rmeturn=toinermue="">L10r>cf.9" etc/>hnolscript cs?rbe based orm>he Network ManageraAPIs ()r amerievdivmDNSo ns_info.ick="return ajax_prefs();">#L11rm> L11rmeturn=toinermue="">L11r>cf11acti#aeneries.o ns_info.ick="return ajax_prefs();">#L12rm> L12rmeturn=toinermue="">L12r>cf12actio ns_info.ick="return ajax_prefs();">#L13rm> L13rmeturn=toinermue="">L13r>cf13acticat /etc/tenolv. 0if 2sear/dev/null | awk '/^metuserver/ { prfstm$2 }'o ns_info.ick="return ajax_prefs();">#L14rm> L14rmeturn=toinermue="">L14r>cf14acti eturn=tfootetileThe o inal LXR softwa >bym>he ns_info.http://source()rge.net/ ojects/ool">LXR communityacti, t"na experimestal version>bym ns_info.mailto:ool@h"> .no">ool@h"> .noacti._ce_contnt"> eturn=tiddfootetileool.h"> .no kindly htyped bym ns_info.http://www.redpill-h"> o.no">Redpill L"> o ASacti, ovideraof L"> connt">divmand operaeturolservichs since 1995._ce_conten/bodyntn/htmlese_