Cette révision appartient à :
+16
-12
@@ -1,17 +1,21 @@
|
||||
/var/www/usb-toggle.php
|
||||
/usr/local/bin/usb-bind-wrapper
|
||||
# USB Control Plugin for moOde
|
||||
|
||||
dans header
|
||||
Adds a USB power control entry in the moOde UI.
|
||||
|
||||
add-header.php
|
||||
## ✨ Features
|
||||
|
||||
Juste avant <li id="bluetooth-hide"><a href="blu-config.php"><i class="fa-light fa-brands fa-bluetooth sx"></i>Bluetooth</a></li>
|
||||
-----------
|
||||
Dans les script
|
||||
<script src="/js/usb-toggle.js"></script>
|
||||
-----------
|
||||
js/usb-toogle.js
|
||||
- Toggle USB power from the web interface
|
||||
- Visual status indicator
|
||||
|
||||
cat /etc/sudoers.d/010_www-data-nopasswd
|
||||
www-data ALL=(ALL) NOPASSWD: ALL
|
||||
---
|
||||
|
||||
## 🚀 Quick Install (one command)
|
||||
|
||||
```bash
|
||||
curl -L https://git.celjim.fr/jimmyGALLAND/moodeaudio-usb-control/releases/latest/download/moodeaudio-usb-control.tar.gz \
|
||||
| tar xz && cd moodeaudio-usb-control && sudo ./install.sh
|
||||
|
||||
## 🧼 Uninstall
|
||||
|
||||
```bash
|
||||
sudo ./uninstall.sh
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur