2024-03-22 20:52:38 +00:00
|
|
|
#!/usr/bin/bash
|
|
|
|
|
|
|
|
# make sure we have rteval installed
|
|
|
|
if rpm -q --quiet rteval; then
|
|
|
|
:
|
|
|
|
else
|
|
|
|
sudo dnf install -y rteval
|
|
|
|
if [[ $? != 0 ]]; then
|
|
|
|
echo "install of rteval failed!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
rteval --help
|
|
|
|
|
|
|
|
if [[ $? != 0 ]]; then
|
|
|
|
exit 2
|
|
|
|
fi
|
|
|
|
|
2024-06-21 20:03:27 +00:00
|
|
|
sudo rteval -s
|
|
|
|
|
|
|
|
if [[ $? != 0 ]]; then
|
|
|
|
exit 3
|
|
|
|
fi
|
|
|
|
|
2024-03-22 20:52:38 +00:00
|
|
|
exit 0
|