Skip to content

Commit

Permalink
checked for rpi-rw script to identify older version
Browse files Browse the repository at this point in the history
  • Loading branch information
emrysr committed Jan 25, 2019
1 parent c206e21 commit 2774874
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Modules/admin/admin_main_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,10 @@ function disk_list()
$btnactionfs = "<button id=\"fs-ro\" class=\"btn btn-info btn-small pull-right\">"._('Read-Only')."</button>";
}
echo "<tr><td class=\"subinfo\"></td><td>Release</td><td>".$emonpiRelease."</td></tr>\n";
echo "<tr><td class=\"subinfo\"></td><td>File-system</td><td>Current: ".$currentfs." - Set root file-system temporarily to read-write, (default read-only) ".$btnactionfs."</td></tr>\n";

if (file_exists('/usr/bin/rpi-rw')) {
echo "<tr><td class=\"subinfo\"></td><td>File-system</td><td>Current: ".$currentfs." - Set root file-system temporarily to read-write, (default read-only) ".$btnactionfs."</td></tr>\n";
}
}

}
Expand Down

0 comments on commit 2774874

Please sign in to comment.