Running a program after system startup directlly from the linux kernel -


i trying run application directly linux kernel(without usage of cron or that). if change ./init/init.c, runs early:

$ dmesg   ... [    0.605657] test!!! ... 

my idea launch application after successful user login, can't find appropriate function use.

you're jumping conclusions. why want kernel if have whole userspace running already? (you want on user login)

have @ 1 of standard mechanisms (depending on what's available in system):

  1. systemd user sessions
  2. .profile / .xinit files users
  3. for advanced scenarios, maybe socket activation services.

Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -