From 92f6fa8994ff6cc1a5fd2e2c4d972ef0cc754b3e Mon Sep 17 00:00:00 2001 From: Ben <43531228+n5amd@users.noreply.github.com> Date: Sat, 21 Dec 2019 15:34:46 -0600 Subject: [PATCH] updated xlx init file replace --- xlxd-debian-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlxd-debian-installer.sh b/xlxd-debian-installer.sh index 8db5a1c..505f6bc 100755 --- a/xlxd-debian-installer.sh +++ b/xlxd-debian-installer.sh @@ -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