I've added an 'uninstall' option to the script in 'post #137'
(https://forums.slimdevices.com/showthread.php?113661-Start-restart-squeezelite-when-plug-in-USB-dac&p=1009335&viewfull=1#post1009335),
and I corrected a problem with trying to write to pcp_<cardname>.log
before the cardname was known.

Code:
--------------------
    tc@pCPTest:~$ sudo ./SQLITE-control.sh uninstall
  1) Squeezelite output device found in /usr/local/etc/pcp/pcp.cfg = DragonFly
  2) udev rules file /etc/udev/rules.d/10-DragonFly.rules removed
  3) etc/udev/rules.d/10-DragonFly.rules removed from /opt/.filetool.lst
  4) SQLITE-control.sh removed from /opt/bootlocal.sh
  
  Uninstallation complete
  Squeezelite will no longer autostart/stop with DragonFly power
  Backup and reboot ('pcp br') to make this permanent
  
  
--------------------


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to