mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
920f5e2118
commit
8d21e674bf
14
INSTALL.sh
14
INSTALL.sh
@ -1461,6 +1461,13 @@ download_skeleton_directory_from_github(){
|
|||||||
echo "Downloading configuration files to ${ETC_DIR}"
|
echo "Downloading configuration files to ${ETC_DIR}"
|
||||||
git clone https://github.com/stefanpejcic/openpanel-configuration ${ETC_DIR} > /dev/null 2>&1
|
git clone https://github.com/stefanpejcic/openpanel-configuration ${ETC_DIR} > /dev/null 2>&1
|
||||||
|
|
||||||
|
|
||||||
|
if [ -f "${CONFIG_FILE}" ]; then
|
||||||
|
echo -e "[${GREEN} OK ${RESET}] Configuration created successfully."
|
||||||
|
else
|
||||||
|
radovan 1 "Dowloading configuration files from GitHub failed, main conf file ${CONFIG_FILE} is missing."
|
||||||
|
fi
|
||||||
|
|
||||||
# added in 0.2.9
|
# added in 0.2.9
|
||||||
chmod +x /etc/openpanel/ftp/start_vsftpd.sh
|
chmod +x /etc/openpanel/ftp/start_vsftpd.sh
|
||||||
|
|
||||||
@ -1470,13 +1477,6 @@ download_skeleton_directory_from_github(){
|
|||||||
service floatingip start > /dev/null 2>&1
|
service floatingip start > /dev/null 2>&1
|
||||||
systemctl enable floatingip > /dev/null 2>&1
|
systemctl enable floatingip > /dev/null 2>&1
|
||||||
|
|
||||||
if [ -f "${CONFIG_FILE}" ]; then
|
|
||||||
echo -e "[${GREEN} OK ${RESET}] Configuration created successfully."
|
|
||||||
else
|
|
||||||
radovan 1 "Dowloading configuration files from GitHub failed, main conf file ${CONFIG_FILE} is missing."
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user