Revision e0d0eb71
Added by Scott Ullrich about 16 years ago
etc/inc/pfsense-utils.inc | ||
---|---|---|
1704 | 1704 |
} |
1705 | 1705 |
} |
1706 | 1706 |
|
1707 |
function get_freebsd_version() { |
|
1708 |
$version = `/usr/bin/uname -r | cut -d'.' -f1` |
|
1709 |
} |
|
1710 |
|
|
1707 | 1711 |
?> |
Also available in: Unified diff
Adding get_freebsd_version(). Use get_freebsd_version() to check if we should set flowtable values