prepared for merge with main
This commit is contained in:
parent
d899e12f57
commit
0e8c6eef04
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
BRANCH="mqtt"
|
BRANCH="main"
|
||||||
|
|
||||||
show_cron_menu() {
|
show_cron_menu() {
|
||||||
echo "Choose option:"
|
echo "Choose option:"
|
||||||
|
|
@ -13,15 +13,6 @@ if [[ $EUID -ne 0 ]]; then
|
||||||
exec sudo bash "$(realpath $0)" "$@"
|
exec sudo bash "$(realpath $0)" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# cleanup old files
|
|
||||||
rm /etc/ppp/chatscripts/sim800c &> /dev/null
|
|
||||||
rm /etc/ppp/peers/sim800c &> /dev/null
|
|
||||||
rm /etc/init.d/sim800c &> /dev/null
|
|
||||||
rm /etc/systemd/system/sim800.service &> /dev/null
|
|
||||||
rm /etc/systemd/system/sim800-healthcheck.service &> /dev/null
|
|
||||||
rm /etc/systemd/system/sim800-healthcheck.timer &> /dev/null
|
|
||||||
systemctl daemon-reload
|
|
||||||
|
|
||||||
rm /etc/ppp/chatscripts/t3hs_sim800 &> /dev/null
|
rm /etc/ppp/chatscripts/t3hs_sim800 &> /dev/null
|
||||||
rm /etc/ppp/peers/t3hs_sim800 &> /dev/null
|
rm /etc/ppp/peers/t3hs_sim800 &> /dev/null
|
||||||
rm /usr/bin/t3hs/t3hs_sim800 &> /dev/null
|
rm /usr/bin/t3hs/t3hs_sim800 &> /dev/null
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user