NoPaste

wlx14cc2020287b.service

von muellthos

SNIPPET_TEXT:
  1. [Unit]
  2. Description=Wireless network connectivity (Interface=wlx14cc2020287b)
  3. After=basic.target
  4.  
  5. [Service]
  6. Type=oneshot
  7. RemainAfterExit=yes
  8.  
  9. ExecStart=/usr/sbin/ip link set dev wlan0 up
  10. ExecStart=/usr/sbin/wpa_supplicant -B -i  wlx14cc2020287b -c /etc/wpa_supplicant/tplink.conf
  11. ExecStart=/usr/sbin/dhclient wlx14cc2020287b
  12.  
  13. ExecStop=/usr/bin/pkill -f /etc/wpa_supplicant/tplink.conf
  14. ExecStop=/usr/sbin/dhclient -r wlx14cc2020287b
  15. ExecStop=/usr/sbin/ip link set dev wlx14cc2020287b down
  16.  
  17. [Install]
  18. WantedBy=multi-user.target

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN