blob: 31f9d3e5954a838ea05d40eacc0916dde8e3f612 [file] [log] [blame]
#!/bin/bash
FACEURI=$1
nfdc face create $FACEURI || exit 1
if ! output=$(nfdc route add ndn:/ $FACEURI)
then
return 2
fi
output=$(nfdc route add ndn:/localhost/test-out $FACEURI 2>&1)
return 0