mirror of
https://github.com/n5amd/Multi-Reflector-Installer.git
synced 2025-12-06 03:42:00 +01:00
Update Multi-Reflector-Installer.sh
Delaying xlxd startup on boot
This commit is contained in:
parent
cb64764c61
commit
d6bc4e260c
|
|
@ -131,6 +131,8 @@ cp -R $XLXINTDIR/xlxd/dashboard/* $XLXWEBDIR/
|
|||
cp $XLXINTDIR/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
|
||||
update-rc.d xlxd defaults
|
||||
#Delaying startup on boot
|
||||
mv /etc/rc3.d/S01xlxd /etc/rc3.d/S10xlxd
|
||||
echo "Updating XLXD Config file... "
|
||||
XLXCONFIG=/var/www/xlxd/pgs/config.inc.php
|
||||
sed -i "s/your_email/$EMAIL/g" $XLXCONFIG
|
||||
|
|
|
|||
Loading…
Reference in a new issue