-
GAMEPOD.hu
OpenWrt topic
Új hozzászólás Aktív témák
-
Speeedfire
nagyúr
válasz vargalex #261 üzenetére
#!/bin/sh
if [ "$BUTTON" = "wps" ] ; then
if [ "$ACTION" = "pressed" ] ; then
TORRENT_STATUS=$(ps | grep transmission | grep -v grep)
if [ "$TORRENT_STATUS" == "" ]; then
echo 1 > /sys/devices/platform/leds-gpio/leds/tp-link\:green\:usb/ && \
/etc/init.d/transmission start && \
logger -t qssbutton "Torrent is running."
else
echo 0 > /sys/devices/platform/leds-gpio/leds/tp-link\:green\:usb/ && \
/etc/init.d/transmission stop && \
logger -t qssbutton "Torrent is stopping."
fi
fi
fiA ledre viszont ezt írja nekem:
can't create /sys/devices/platform/leds-gpio/leds/tp-link:green:usb/: Is a directory
Fotóim https://fb.com/toth.szabolcs.art || IG: http://instagram.com/_tothszabolcs_ || Weblapom http://szabolcs-toth.com
Új hozzászólás Aktív témák
- LEGO klub
- eBay-es kütyük kis pénzért
- Kormányok / autós szimulátorok topicja
- A Samsung hazánkban is piacra dob idén egy friss Micro LED tévét
- NVIDIA GeForce RTX 3080 / 3090 / Ti (GA102)
- Autós topik
- Jövedelem
- AMD Ryzen 9 / 7 / 5 7***(X) "Zen 4" (AM5)
- ldave: New Game Blitz - 2024
- Gyúrósok ide!
- További aktív témák...
- Windows, Office licencek a legolcsóbban, egyenesen a Microsoft-tól - 2990 Ft-tól!
- Bontatlan - BATTLEFIELD 1 Collectors Edition - Játékszoftver nélkül
- World of Warcraft Shadowlands Collectors edition EU EN
- Windows 10 11 Pro Office 19 21 Pro Plus Retail kulcs 1 PC Mac AKCIÓ! LEGOLCSÓBB! Automatikus 0-24
- Steames kulcsok jó áron eladóak!