* Restconf: added inline configuration using -R <xml> command line as an alternative to making advanced restconf configuration
This commit is contained in:
parent
1ef7a280d7
commit
164aa1cb4c
9 changed files with 161 additions and 41 deletions
|
|
@ -157,7 +157,11 @@ function testrun()
|
|||
stop_restconf_pre
|
||||
|
||||
new "start restconf daemon"
|
||||
start_restconf -f $cfg
|
||||
# inline of start_restconf, cant make quotes to work
|
||||
sudo -u $wwwstartuser -s $clixon_restconf $RCLOG -D $DBG -f $cfg -R "$RESTCONFIG1" &
|
||||
if [ $? -ne 0 ]; then
|
||||
err1 "expected 0" "$?"
|
||||
fi
|
||||
fi
|
||||
|
||||
new "wait restconf"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue