Dependent Origination

Ubuntu: rc.local

Posted on: June 5, 2012

/etc/rc.local

it is a startup script for the local machine so you can do many useful things here. the easiest way is to have it call another script which you can check into the source depot.

this link explains more on what you should pay attention to when you write the script — for example always use absolute path since it will be run from the caller’s directory.

this thread explains that no need to enable rc.local service any more systemd picks it up automatically on reboot.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

June 2012
M T W T F S S
« May   Jul »
 123
45678910
11121314151617
18192021222324
252627282930  

Twitter

Flickr Photos

%d bloggers like this: