diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-01-19 09:08:37 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-01-19 09:08:37 -0200 |
commit | 7f3601524d0ec33f3e0f25e177981baa6466af28 (patch) | |
tree | 7604973a9549bf47ad51ce6244fc52cca6973292 /etc/inc/system.inc | |
parent | ef9ef75fe1c90b666eea21545acd879c94d92001 (diff) | |
download | pfsense-7f3601524d0ec33f3e0f25e177981baa6466af28.zip pfsense-7f3601524d0ec33f3e0f25e177981baa6466af28.tar.gz |
Add reset button support for APU and FW7541
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index fbca8c3..8c61e6b 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1989,8 +1989,15 @@ function system_check_reset_button() { $specplatform = system_identify_specific_platform(); - if ($specplatform['name'] != "wrap" && $specplatform['name'] != "alix") + switch ($specplatform['name']) { + case 'alix': + case 'wrap': + case 'FW7541': + case 'APU': + break; + default: return 0; + } $retval = mwexec("/usr/local/sbin/" . $specplatform['name'] . "resetbtn"); |