echo "http://$nodename (TRY ME)"
This commit is contained in:
parent
a763b288e4
commit
2875fa5a41
|
@ -60,10 +60,17 @@ extension=$(echo $nodename | cut -d '.' -f 2)
|
|||
if [[ $extension == $nodename ]]; then
|
||||
nodename=$nodename.local # TODO : Adpapt to Internet BOX local DNS stategy
|
||||
fi
|
||||
|
||||
|
||||
echo "ENTER Station accessible Network name !!! Suggestion : $nodename"
|
||||
read nodename
|
||||
|
||||
sudo sed -i "s/_SERVERNAME_/$nodename/g" /etc/nginx/conf.d/loveland.conf
|
||||
|
||||
# INSTALL LOVELand WebSite LINKs
|
||||
sudo ln -s /home/$YOU/.zen/astroport/www/LOVELand/ /var/www/loveland
|
||||
if [[ ! -L /var/www/loveland ]]; then
|
||||
sudo ln -s /home/$YOU/.zen/astroport/www/LOVELand/ /var/www/loveland
|
||||
fi
|
||||
sudo chmod 777 /var/www/loveland/jukebox/albumart
|
||||
sudo chmod 777 /var/www/loveland/jukebox/prefs
|
||||
|
||||
|
@ -74,6 +81,7 @@ if [[ $err ]]; then
|
|||
exit 1
|
||||
else
|
||||
echo -e "${c_green}LOVELand a été installé avec succès$c_"
|
||||
echo "http://$nodename (TRY ME)"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue