0
votes
1answer
21 views

How to add a command to init script

I want to run the command: sudo apt-get update when my system starts. I am running a Ubuntu variant Called Zorin OS. I have recently updated the kernel to 3.15.0-999. 64-bit. I would like to run ...
0
votes
1answer
133 views

Running Key Remap Script at Startup

I'm trying to re-map my left Alt key to the Alt Gr and Alt Gr to Left Alt. So far I've been able to do it in terminal, but it never runs it on start up. I've read multiple AskUbuntu questions, but ...
0
votes
0answers
35 views

Startup jobs exec at

I discovered upstart jobs, not much on stackoverflw and google, seems pretty new, but I cannot get 1 line to work: exec /usr/bin/echo "reboot" | /usr/bin/at 06:00 tomorrow The line next to ...
0
votes
0answers
66 views

Add iptable rule before networking starts

I have an iptable rule that is critical. I have followed the instructions here to make sure the rule gets added when the server is rebooted. However, my rule drops ping requests. I've noticed ...
1
vote
1answer
344 views

Start and stop parameters in init script

I have .conf a file in /etc/init/ with this code at the bottom: start on (started network-interface or started network-manager or started networking) stop on (stopping ...
2
votes
1answer
52 views

Need to know what program is writing to the console on start, logout and shutdown

I would like to know what program is responsible for writing messages to the console during the start, logout and shutdown process. What I'm referring to is that black console that comes out and spews ...
3
votes
1answer
303 views

Scripts slowing boot

Inspired by the "How fast" video, I've recently been trying to speed up my boot up as much as possible. I've been reading many forums on different approaches but I've recently hit a wall with a ...
0
votes
1answer
876 views

Start wifi in adhoc mode right after boot

I'm trying to set my wireless card to adhoc mode after the system starts. I have created a shell script following this guide: ...
4
votes
1answer
4k views

When you run `update-rc.d myscript default` - what is called on startup/shutdown?

What gets called on startup/shutdown when you run update-rc.d myscript default? Docs seem fuzzy, I want concrete. I am guessing that this happens: At startup (specifically at entry to runlevel 2, ...
2
votes
2answers
8k views

How to write an init script that will execute an existing start script?

I'm trying to understand the init process. I have a script which launches 3 background processes (2 shell scripts and a java app). It works just fine from the command line. I'd like to execute that ...
1
vote
2answers
7k views

update.rc-d init.d startup script is not starting

I got a simple script called hwtestinit which I installed using update-rc.d hwtestinit defaults On the surface, as far as I can inspect, all seems fine , I mean, the following files, all exists, ...
0
votes
1answer
102 views

Start the same “sessions” after shutdown

Many times it happen I got several terms & app sessions opened, while I just have to quick shutdown the machine to move away in another building. Is there a way, when I next boot the laptop, to ...
2
votes
1answer
324 views

Where can I find information or description of the boot up process?

I am looking for links to detailed information on how the ubuntu boot process is managed after grub is finished. I have googled by all the documentation referes to individual packages. (upstart, ...