mirror of
https://github.com/ShaYmez/xlxd-debian-installer.git
synced 2024-11-27 13:48:45 -05:00
updated xlx init file replace
This commit is contained in:
parent
0af79898a4
commit
92f6fa8994
@ -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=\"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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user