Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 6238  / 2 Years ago, sun, july 17, 2022, 6:38:22

Is it possible to initialize a script upon startup in Ubuntu (precisely, Ubuntu Server 12.10)? I need to initialize a script to let the network card work, and so far I couldn't find a way to do so (the initializing on startup part).


More From » 12.10

 Answers
7

A preferred way to execute a script during boot is to create an Upstart job. Job configuration file might go to /etc/init (system jobs) or to ~/.init (user jobs).



Upstart is an event-based replacement for the venerable System-V init introduced for the first time in Ubuntu 6.10.



You will find answers to basic questions here.



To get started go here.



Detailed documentation having zilion examples can be found here.


[#32695] Sunday, July 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tresein

Total Points: 197
Total Questions: 113
Total Answers: 112

Location: Hungary
Member since Wed, Nov 9, 2022
1 Year ago
;