summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/system_advanced.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index f1213ef..1f99fac 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -140,10 +140,8 @@ if ($_POST) {
$config['system']['optimization'] = $_POST['optimization'];
$config['system']['disablerendevouz'] = $_POST['disablerendevouz'];
- if ($g['platform'] == "generic-pc") {
- $oldharddiskstandby = $config['system']['harddiskstandby'];
- $config['system']['harddiskstandby'] = $_POST['harddiskstandby'];
- }
+ $oldharddiskstandby = $config['system']['harddiskstandby'];
+ $config['system']['harddiskstandby'] = $_POST['harddiskstandby'];
$config['system']['webgui']['noantilockout'] = $_POST['noantilockout'] ? true : false;
/* Firewall and ALTQ options */
OpenPOWER on IntegriCloud