Source

iredmail / iRedMail / conf / global

Diff from to

iRedMail/conf/global

     fi
 elif [ X"${KERNEL_NAME}" == X"FREEBSD" ]; then
     export DISTRO='FREEBSD'
-    export DISTRO_VERSION="$(uname -r |awk -F'-' '{print $1}')"
+    export DISTRO_VERSION="$(uname -r |awk -F'-' '{print $1}' |awk -F'.' '{print $1}')"
 
     # Directory of RC scripts.
     export DIR_RC_SCRIPTS='/usr/local/etc/rc.d'