I was trying to make a program start at startup. Ubuntu 16.04. I did following:
Opened Terminal
cd /etc/init.d
sudo gedit
added:
#!/bin/bash
# /etc/init.d/cmdtrm
echo password | sudo -S /usr/master/bin/trmf
saved file as cmdtrm
sudo update-rc.d cmdtrm defaults
sudo chmod +x cmdtrm
Rebooted machine
After rebooting, I'm getting the following on screen:
/dev/sda1: clean, xxxxx/xxxx files, xxxxx/xxxxx blocks
And it just stays. Nothing happens.
The program has started in the background. I know this since the program connects to my server.
This question has some answers, but I'm not sure how should I approach in my case.
How can I make Ubuntu boot properly? Do I need to terminate the program? How?