I set up a brand new Raspbmc and installed transmission-daemon on it. I was able to stop it by issuing a
sudo /etc/init.d/transmission-daemon stop,
after which I proceed to make some changes to the settings.json, mainly to the download paths. My target folder was my NAS SMB share. I restarted the daemon and it was working. I was able to access it using the web UI and add a torrent to it and it even started downloading, but it failed due to a permissions problem.
Then I proceeded to add the user pi to debian-transmission as per some solutions and modified the /etc/init.d/transmission-daemon script to reflect the new username. After this, the daemon wouldn't start due to some error. I decided to start over - remove transmission and install it again - but after this, the daemon can no longer be started or stopped using the same command mentioned above. It keeps saying sudo: /etc/init.d/transmission-daemon: command not found.
How can I completely remove all traces of transmission-daemon including all config files and start afresh? My only hope at this point seems to be to wipe the card and redo Raspbmc and everything all over again...