diff options
author | Jannik Schönartz | 2017-12-29 17:33:20 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-12-29 17:33:20 +0100 |
commit | 7fbfaa3a1b79f57fbf153d147861ad831e7bc034 (patch) | |
tree | 1d526e07c6db2a13daa5b6593a84f23078903484 /modules-available | |
parent | [usb-lock-off] Fixed: Because of a missing uid every selected stick was addin... (diff) | |
download | slx-admin-7fbfaa3a1b79f57fbf153d147861ad831e7bc034.tar.gz slx-admin-7fbfaa3a1b79f57fbf153d147861ad831e7bc034.tar.xz slx-admin-7fbfaa3a1b79f57fbf153d147861ad831e7bc034.zip |
[usb-lock-off] Moved with-interfaces from the specific props to the general device props. Same devices should have the same interfaces.
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/usblockoff/api.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/usblockoff/api.inc.php b/modules-available/usblockoff/api.inc.php index 298dd948..6a5e4a7d 100644 --- a/modules-available/usblockoff/api.inc.php +++ b/modules-available/usblockoff/api.inc.php @@ -17,14 +17,14 @@ function HandleParameters() $hwProps = array( 'vendorid' => $vid, 'productid' => $pid, - 'name' => $name + 'name' => $name, + 'with-interface' => Request::get('with-interface', '', 'string') ); // TODO: WITH INTERFACE in the HW table?! Should be equal for every device but not guaranteed (ODROID). $deviceProps = array( 'hash' => Request::get('hash', '', 'string'), 'parent-hash' => Request::get('parent-hash', '', 'string'), 'via-port' => Request::get('via-port', '', 'string'), - 'with-interface' => Request::get('with-interface', '', 'string'), 'interface-policy' => Request::get('interface-policy', '', 'string'), 'machineuuid' => $client['muid'], 'user' => $client['user'], |