1. Samuel Thomas
  2. iredmail

Commits

Zhang Huangbin  committed 0f3e6c8

Get FreeBSD release version number as DISTRO_VERSION.

  • Participants
  • Parent commits 1de8d83
  • Branches default

Comments (0)

Files changed (1)

File iRedMail/conf/global

View file
         exit 255
     fi
 elif [ X"${KERNEL_NAME}" == X"FreeBSD" ]; then
+    export DISTRO='FREEBSD'
+    export DISTRO_VERSION="$(uname -r)"
+
     # Directory of RC scripts.
     export DIR_RC_SCRIPTS='/usr/local/etc/rc.d'
-
-    export DISTRO='FREEBSD'
 else
     # Not support *BSD and other distrobutions yet.
     echo "Error: Your OS is not supported yet."