sort xml children on parsing
This commit is contained in:
parent
9681c91681
commit
19301ae240
5 changed files with 35 additions and 23 deletions
|
|
@ -18,7 +18,6 @@ cfg=/tmp/scaling-conf.xml
|
|||
fyang=/tmp/scaling.yang
|
||||
fconfig=/tmp/config
|
||||
|
||||
|
||||
# include err() and new() functions
|
||||
. ./lib.sh
|
||||
|
||||
|
|
@ -67,7 +66,7 @@ if [ $? -ne 0 ]; then
|
|||
err
|
||||
fi
|
||||
|
||||
new "start backend"
|
||||
new "start backend -s init -f $cfg -y $fyang"
|
||||
# start new backend
|
||||
sudo clixon_backend -s init -f $cfg -y $fyang
|
||||
if [ $? -ne 0 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue