Run a script at boot time

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Run a script at boot time

668件の閲覧回数
afreenmusarrath23
Contributor I

Hello Sir 

I have tried running a script while booting on imx8m mini board by making selinux as permissive. Is it possible to run a script while booting by making selinux as enforcing ? how? please help me out!

Thanku

ラベル(1)
0 件の賞賛
3 返答(返信)

656件の閲覧回数
b36401
NXP Employee
NXP Employee

If SELinux is disabled it can not be enabled without rebooting.
However when in enabled you can turn it on and off with "setenforce 1"/"setenforce 0" commands.

0 件の賞賛

644件の閲覧回数
afreenmusarrath23
Contributor I
スポイラ
 

I have created a script which should run automatically while booting ! Is it possible to do this without enabling selinux? if yes please tell me how to do that.

0 件の賞賛

637件の閲覧回数
b36401
NXP Employee
NXP Employee

Please note that SELinux only adds the restrictions. So I suppose a script may work without SELinux not worse than with.

0 件の賞賛