updates to support dynamic loading of emane models from a custom emane directory

This commit is contained in:
Blake J. Harnden 2018-02-05 11:22:01 -08:00
parent 45e82f05b2
commit c4a61b269b
7 changed files with 26 additions and 95 deletions

View file

@ -88,6 +88,12 @@ init_conf_dir() {
else
cp -a $CORE_DATA_DIR/examples/myservices/* $CONFDIR/myservices/
fi
mkdir -p $CONFDIR/myemane
if [ $? != 0 ]; then
echo "error making directory $CONFDIR/myemane!";
else
cp -a $CORE_DATA_DIR/examples/myemane/* $CONFDIR/myemane/
fi
}
cd $LIBDIR