Commit 4833af8f authored by Joanne Hugé's avatar Joanne Hugé

Don't rely on existing keys for get-host-ID script

parent 8d11e8f4
#!/bin/bash #!/bin/bash
for SOFT in enb ue mme; do #for SOFT in enb ue mme; do
if [ -f "/root/.amarisoft/lte$SOFT.key" ]; then # if [ -f "/root/.amarisoft/lte$SOFT.key" ]; then
cat /root/.amarisoft/lte$SOFT.key | tail -c+261| head -n1; # cat /root/.amarisoft/lte$SOFT.key | tail -c+261| head -n1;
exit; # exit;
fi # fi
done #done
if [ "$#" -eq 2 ]; then if [ "$#" -eq 2 ]; then
BINARY_PATH="$1" BINARY_PATH="$1"
BINARY_CONFIG="$2" BINARY_CONFIG="$2"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment