default g3support & fixed some ambed.service refs

pull/1/head
Tom Early 6 years ago
parent 736eefc3af
commit c67a9b2da7

@ -21,7 +21,7 @@ UninstallReflector () {
sudo make uninstall sudo make uninstall
cd .. cd ..
fi fi
if [ -e /etc/systemd/system/ambed ]; then if [ -e $ambserv ]; then
cd ambed cd ambed
sudo make uninstall sudo make uninstall
cd .. cd ..
@ -101,6 +101,7 @@ Compile () {
# file locations # file locations
xlxserv='/etc/systemd/system/xlxd.service' xlxserv='/etc/systemd/system/xlxd.service'
xrfserv='/etc/systemd/system/xrfd.service' xrfserv='/etc/systemd/system/xrfd.service'
ambserv='/etc/systemd/system/ambed.service'
# default values # default values
callsign='CHNGME' callsign='CHNGME'
@ -140,7 +141,7 @@ do
echo "us : Uninstall the XRF reflector" echo "us : Uninstall the XRF reflector"
fi fi
echo "rr : Restart the reflector" echo "rr : Restart the reflector"
if [ -e /etc/systemd/system/ambed ]; then if [ -e $ambserv ]; then
echo "rt : Restart the transcoder" echo "rt : Restart the transcoder"
fi fi
else else
@ -166,7 +167,7 @@ do
if [[ "$key" == ls* ]]; then if [[ "$key" == ls* ]]; then
cat reflector.cfg; cat reflector.cfg;
ceho echo
read -p "<Enter> to return to main menu: " ans read -p "<Enter> to return to main menu: " ans
elif [[ "$key" == us* ]]; then UninstallReflector elif [[ "$key" == us* ]]; then UninstallReflector
elif [[ "$key" == is* ]]; then InstallReflector elif [[ "$key" == is* ]]; then InstallReflector

@ -190,7 +190,7 @@ ip4addr_d='none'
ip6addr_d='none' ip6addr_d='none'
tcaddress_d='none' tcaddress_d='none'
tcmodules_d='ABCDEFGHIJKLMNOPQRSTUVWXYZ' tcmodules_d='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
g3support_d=true g3support_d=false
dbsupport_d=false dbsupport_d=false
if [ -e reflector.cfg ]; then if [ -e reflector.cfg ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.