updated xlx init file replace

This commit is contained in:
Ben 2019-12-21 15:34:46 -06:00 committed by GitHub
parent 0af79898a4
commit 92f6fa8994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ echo "--------------------------------------------------------------------------
echo "Copying web dashboard files and updating init script... "
cp -R $XLXINSTDIR/xlxd/dashboard/* /var/www/xlxd/
cp $XLXINSTDIR/xlxd/scripts/xlxd /etc/init.d/xlxd
sed -i "s/ARGUMENTS=\"XLX270 158.64.26.132\"/ARGUMENTS=\"$XFRNUM $LOCAL_IP 127.0.0.1\"/g" /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
update-rc.d xlxd defaults
# Delaying startup time
mv /etc/rc3.d/S01xlxd /etc/rc3.d/S10xlxd