Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

Setting the path by exec(which umount). #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions www/public_html/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
$DeviceList .= "of=/dev/" . $DeviceName . " ";

//put device into variable for unmounting of drives
$UmountList .= "/usr/bin/umount /dev/" . $DeviceName . " & ";
$UmountList .= exec("which umount") . " /dev/" . $DeviceName . " & ";

} //END create device list from checkbox array

Expand Down Expand Up @@ -62,7 +62,10 @@
<title>Open Source Image Duplicator</title>
<meta name="description" content="">
<meta name="author" content="">

<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">

<!-- Mobile Specific Metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
Expand Down Expand Up @@ -343,4 +346,4 @@ function initialStart() {
<!-- End Document
================================================== -->
</body>
</html>
</html>