[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to check if its system bootup




"LeVA" <leva@az.isten.hu> wrote in message [🔎] 200508061344.45254.leva@az.isten.hu">news:[🔎] 200508061344.45254.leva@az.isten.hu...
Hi!

I wonder if there is a way to check at an init.d script, if it is system
bootup, or the user just executing the the script from a console, while the
system is already up. Any way to do this?

Thanks!
Why would you want to do this? In general if a user is running the script with an argument of start it is for a very good reason such as manual booting, and should be treated the same as automatic booting.



Reply to: