summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.homeunix.net>2009-07-11 18:18:11 -0400
committerScott Ullrich <sullrich@pfsense.homeunix.net>2009-07-11 18:18:11 -0400
commite0d0eb71f5b72a188581975f7998520967afe6bb (patch)
tree8b1694e990da6464b595deb7583111ff8218ffb6 /etc/inc/pfsense-utils.inc
parent56687adf123c9944400f109917cd81eece6e37c1 (diff)
downloadpfsense-e0d0eb71f5b72a188581975f7998520967afe6bb.zip
pfsense-e0d0eb71f5b72a188581975f7998520967afe6bb.tar.gz
Adding get_freebsd_version(). Use get_freebsd_version() to check if we should set flowtable values
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index e94fa10..45086bd 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1704,4 +1704,8 @@ function register_via_growl() {
}
}
+function get_freebsd_version() {
+ $version = `/usr/bin/uname -r | cut -d'.' -f1`
+}
+
?> \ No newline at end of file
OpenPOWER on IntegriCloud