rgro wrote: 
> 
> 1. So, in order to incorporate all of the to-date script changes, do I
> just sudo nano the SQLITE-control.sh file and replace it with the script
> in post #137??  Save, exit, and that's all that's needed?

Yes, that's all that would be needed to get the up-to-date script. But
you'd probably need to do some manual tidying up from the earlier script
before using the new script, because the rules file is now named after
the card name of the DAC - in your case I believe that's 'DAC51892395',
so your new rules file will be 10-DAC51892395.rules.  To avoid clashes
with your old rules file you'll need to delete the old rules file
(/etc/udev/rules.d/10-DAC.rules) first:

Code:
--------------------
    cd /etc/udev/rules.d
  sudo rm 10-DAC.rules
--------------------

.... and remove it from /opt/.filetool.lst (use vi to edit
/opt/.filetool.lst manually)

You'd then need to run the new script with the 'install' option (this
creates the new rules file and adds it to /opt/.filetool.lst):

Code:
--------------------
    sudo ./SQLITE-control.sh install
--------------------


And don't forget - since you wish to disable the 'stop' part of the
script, you would either need to delete the second line of the rules
file, or, as you did before, place the '#' character at the start of the
relevant line in the 'stop' section of SQLITE-control.sh:

Code:
--------------------
    #                   sudo /usr/local/etc/init.d/squeezelite stop >> $logfile
  
--------------------


rgro wrote: 
> 2.  Not that I want to, but if I have need to delete all this nice
> start/restart functionality, how would I actually initiate/execute the
> "uninstall" process?

You would login with an ssh terminal, then type:

Code:
--------------------
    sudo ./SQLITE-command uninstall
--------------------


rgro wrote: 
> 3.  If I replace the original script with the revised script in post
> #137, can I then remove that command in User Commands section of
> Tweaks??
> 

Yes - an equivalent command will now be placed in /opt/bootlocal.sh (by
the 'install' process).


------------------------------------------------------------------------
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