It worked well on 13.10 but not on 14.04. I suspect something in system has changed.
I'm talking about sandfox script
http://igurublog.wordpress.com/downl...cript-sandfox/
When I do
it starts and works but only until I restart system. It fails to start at system boot.
I don't understand why.
Here are details.
http://pastebin.com/1aP4A76z
I only changed beginning
according to last comment on blog, because there were problems with:
I doesn't show after the change.
I followed strictly guidelines when creating it:
I'm talking about sandfox script
http://igurublog.wordpress.com/downl...cript-sandfox/
When I do
Code:
sudo /etc/init.d/sandfox start
I don't understand why.
Here are details.
http://pastebin.com/1aP4A76z
I only changed beginning
Code:
#!/bin/sh ### BEGIN INIT INFO # Provides: sandfox # Required-Start: $local_fs $network # Required-Stop: $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: sandfox # Description: Sandfox boot startup script for Ubuntu and similar ### END INIT INFO #!/bin/bash sandfoxuser=gnomek sandfoxprofile=firefox sandfoxbin=/usr/local/bin/sandfox
Code:
sudo update-rc.d sandfox defaults update-rc.d: warning: /etc/init.d/sandfox missing LSB information update-rc.d: see <http://wiki.debian.org/LSBInitScripts> Adding system startup for /etc/init.d/sandfox ... /etc/rc0.d/K20sandfox -> ../init.d/sandfox /etc/rc1.d/K20sandfox -> ../init.d/sandfox /etc/rc6.d/K20sandfox -> ../init.d/sandfox /etc/rc2.d/S20sandfox -> ../init.d/sandfox /etc/rc3.d/S20sandfox -> ../init.d/sandfox /etc/rc4.d/S20sandfox -> ../init.d/sandfox /etc/rc5.d/S20sandfox -> ../init.d/sandfox
I followed strictly guidelines when creating it:
Code:
sudo apt-get install inotify-tools lsof sudo install sandfox /usr/local/bin/sandfox sudo nano /etc/init.d/sandfox sudo chmod +x /etc/init.d/sandfox sudo update-rc.d sandfox defaults sudo sandfox firefox
Comment