Autorun shell script at startup

Hey, is there a possibility to run a shell script at system boot. (preferably without triggering this from codesys runtime)

This would be a PFC with FW~28.

Hello Simon,

There is in the following a description on how to do it for the wpa_supplicant for 802.1x.

See the page 116, chapter 7.2.3

Hope it helps,

1 Like

Place your script in /etc/init.d
Then create a symlink in /etc/rc.d

ln -s /etc/init.d/myscript /etc/init.d/S99_myscript

The number in the symlink will define in which order the script will be called (for instance before or after the runtime…)

1 Like