Commit 404af0c0 authored by Joanne Hugé's avatar Joanne Hugé

wip

parent 9d17f845
......@@ -60,7 +60,7 @@ md5sum = 52da9fe3a569199e35ad89ae1a44c30e
[template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum = bd13b2b7e0ec252ab13b428d9d782294
md5sum = 324dfbc3b9000729b0e12e01b2f5ad92
[template-ors-enb]
_update_hash_filename_ = instance-ors-enb.jinja2.cfg
......@@ -72,7 +72,7 @@ md5sum = 82449c34a4632191931ce8aa88ce72e6
[template-core-network]
_update_hash_filename_ = instance-core-network.jinja2.cfg
md5sum = 3a55385da76b7d2b808f8b3ddd4e20e6
md5sum = 721157b5743832aee6c17edd9d61f68d
[template-ue]
_update_hash_filename_ = instance-ue.jinja2.cfg
......
......@@ -198,10 +198,10 @@ inline =
# Print hardware and software info in info-log
cat > ${:info-log} << EOF
$(date "+[%Y/%m/%d %T.%N %Z] Starting IMS...")
System info: $(uname -a)
$(date "+[%Y/%m/%d %T.%N %Z] Starting IMS...")
System info: $(uname -a)
EOF
EOF
# Remove obsolete logs
rm -f ${directory:log}/ims-output*
/bin/sh {{ amarisoft_log_rotate_sh }} \
......@@ -243,10 +243,10 @@ inline =
# Print hardware and software info in info-log
cat > ${:info-log} << EOF
$(date "+[%Y/%m/%d %T.%N %Z] Starting MME...")
System info: $(uname -a)
EOF
$(date "+[%Y/%m/%d %T.%N %Z] Starting MME...")
System info: $(uname -a)
EOF
# Remove obsolete logs
rm -f ${directory:log}/mme-output*
/bin/sh {{ amarisoft_log_rotate_sh }} \
......
......@@ -149,15 +149,15 @@ inline =
# Print hardware and software info in info-log
cat > ${:info-log} << EOF
$(date "+[%Y/%m/%d %T.%N %Z] Starting eNB software...")
PCB: $(for o in t b v s ; do
sudo -n {{ sdr['dir'] }}/get-sdr-info -$o 2> /dev/null ; printf " "
done)
System info: $(uname -a)
./sdr_util version:
$({{ amarisoft['sdr_dir'] }}/sdr_util version)
EOF
$(date "+[%Y/%m/%d %T.%N %Z] Starting eNB software...")
PCB: $(for o in t b v s ; do
sudo -n {{ sdr['dir'] }}/get-sdr-info -$o 2> /dev/null ; printf " "
done)
System info: $(uname -a)
./sdr_util version:
$({{ amarisoft['sdr_dir'] }}/sdr_util version)
EOF
# Remove obsolete logs
rm -f ${directory:log}/enb-2* ${directory:log}/gnb* ${directory:log}/enb-output.log
/bin/sh {{ amarisoft_log_rotate_sh }} \
......
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