add remove from etc/hosts
This commit is contained in:
parent
e37ccb4d23
commit
5af5cf1850
1 changed files with 4 additions and 2 deletions
|
|
@ -292,6 +292,9 @@ do
|
|||
done
|
||||
done
|
||||
|
||||
|
||||
cp ./.remove-site ./remove_${WEBSITENAME}_configs.bash
|
||||
|
||||
#add websitename to hosts
|
||||
|
||||
if [[ $LOCALHOST ]]
|
||||
|
|
@ -311,6 +314,7 @@ then
|
|||
echo -e "${YELLOW}ADD $WEBSITENAME to /etc/hosts, because you are on a localhost!"
|
||||
echo "127.0.0.1 ${WEBSITENAME}" >> /etc/hosts
|
||||
fi
|
||||
echo "sed -i 's/127.0.0.1 ${WEBSITENAME}//g' /etc/hosts" >> ./remove_${WEBSITENAME}_configs.bash
|
||||
EDITEDHOSTS=true
|
||||
break;;
|
||||
[Nn]* )
|
||||
|
|
@ -321,8 +325,6 @@ then
|
|||
done
|
||||
fi
|
||||
|
||||
cp ./.remove-site ./remove_${WEBSITENAME}_configs.bash
|
||||
|
||||
# add php configuration via wisski.ini
|
||||
# Tweak PHP
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue