mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-26 08:18:28 -04:00
set kernel, distro, and version for Mac OS
This commit is contained in:
1 parent
3c48d81edb
commit
24838a91c9
1 file changed
+3
@@ -247,6 +247,9 @@ sub getDistro {
|
||||
$version = runSysCmd("uname -r");
|
||||
} elsif ( $test =~ /Darwin/ ) {
|
||||
Debug("Mac OS distro detected.");
|
||||
$kernel = runSysCmd("uname -v");
|
||||
$distro = runSysCmd("uname");
|
||||
$version = runSysCmd("uname -r");
|
||||
} elsif ( $test =~ /SunOS|Solaris/ ) {
|
||||
Debug("Sun Solaris detected.");
|
||||
$kernel = runSysCmd("uname -v");
|
||||
|
||||
Reference in new issue
Block a user