Browse Source

Fixed Debian hostname issue

old-stable
gau1991 11 years ago
parent
commit
f6d173b8f9
  1. 2
      bin/install
  2. 2
      src/lib/ee_lib_check_fqdn.sh

2
bin/install

@ -89,7 +89,7 @@ function ee_lib_check_fqdn()
*.*)
if [ "$EE_FQDN" != "" ];then
echo $EE_FQDN > /etc/hostname
if [ "$EE_DEBIAN_VERSION" == "squeeze" ];then
if [ "$EE_LINUX_DISTRO" == "Debian" ];then
/etc/init.d/hostname.sh start &>> $EE_INSTALL_LOG
else
service hostname restart &>> $EE_INSTALL_LOG

2
src/lib/ee_lib_check_fqdn.sh

@ -6,7 +6,7 @@ function ee_lib_check_fqdn()
*.*)
if [ "$EE_FQDN" != "" ];then
echo $EE_FQDN > /etc/hostname
if [ "$EE_DEBIAN_VERSION" == "squeeze" ];then
if [ "$EE_LINUX_DISTRO" == "Debian" ];then
/etc/init.d/hostname.sh start &>> $EE_COMMAND_LOG
else
service hostname restart &>> $EE_COMMAND_LOG

Loading…
Cancel
Save