mirror of
https://github.com/ShaYmez/xlxd-debian-installer.git
synced 2024-11-21 19:02:34 -05:00
Updated variables and init file
This commit is contained in:
parent
92f6fa8994
commit
766b1ca45d
@ -27,7 +27,7 @@ clear
|
|||||||
echo ""
|
echo ""
|
||||||
echo "XLX uses 3 digit numbers for its reflectors. For example: 032, 999, 099."
|
echo "XLX uses 3 digit numbers for its reflectors. For example: 032, 999, 099."
|
||||||
read -p "What 3 digit XRF number will you be using? " XRFDIGIT
|
read -p "What 3 digit XRF number will you be using? " XRFDIGIT
|
||||||
XFRNUM=XLX$XRFDIGIT
|
XRFNUM=XLX$XRFDIGIT
|
||||||
echo ""
|
echo ""
|
||||||
echo "--------------------------------------"
|
echo "--------------------------------------"
|
||||||
read -p "What is the FQDN of the XLX Reflector dashboard? Example: xlx.domain.com. " XLXDOMAIN
|
read -p "What is the FQDN of the XLX Reflector dashboard? Example: xlx.domain.com. " XLXDOMAIN
|
||||||
@ -85,7 +85,7 @@ echo "--------------------------------------------------------------------------
|
|||||||
echo "Copying web dashboard files and updating init script... "
|
echo "Copying web dashboard files and updating init script... "
|
||||||
cp -R $XLXINSTDIR/xlxd/dashboard/* /var/www/xlxd/
|
cp -R $XLXINSTDIR/xlxd/dashboard/* /var/www/xlxd/
|
||||||
cp $XLXINSTDIR/xlxd/scripts/xlxd /etc/init.d/xlxd
|
cp $XLXINSTDIR/xlxd/scripts/xlxd /etc/init.d/xlxd
|
||||||
sed -i "s/ARGUMENTS=\"XLX999 192.168.1.240\"/ARGUMENTS=\"$XFRNUM $LOCAL_IP 127.0.0.1\"/g" /etc/init.d/xlxd
|
sed -i "s/XLX999 192.168.1.240 127.0.0.1/$XRFNUM $LOCAL_IP 127.0.0.1/g" /etc/init.d/xlxd
|
||||||
update-rc.d xlxd defaults
|
update-rc.d xlxd defaults
|
||||||
# Delaying startup time
|
# Delaying startup time
|
||||||
mv /etc/rc3.d/S01xlxd /etc/rc3.d/S10xlxd
|
mv /etc/rc3.d/S01xlxd /etc/rc3.d/S10xlxd
|
||||||
@ -129,7 +129,7 @@ echo "need to configure the host files of the devices connecting to this server.
|
|||||||
echo "There are many online tutorials on 'Editing pi-star host files'. "
|
echo "There are many online tutorials on 'Editing pi-star host files'. "
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
echo " Your $XFRNUM dashboad should now be accessible... "
|
echo " Your $XRFNUM dashboad should now be accessible... "
|
||||||
echo " http://$XLXDOMAIN "
|
echo " http://$XLXDOMAIN "
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user