What is the best way to execute a script after boot/reboot on a specific thin-client in an LTSP enviroment?
I want to run a script after boot to execute ltsp-localapps foo , but only on one client. Normally I would use /etc/rc.local - but in LTSP this would affect all clients using this image.
My best idea, so far, is to use the lts.conf parameter:
CRONTAB_01..CRONTAB_10
string, default unset
A crontab line to add for a thin client.
with
@reboot Run once, at startup.
but as man 5 crontab states
Please note that startup, as far as @reboot is concerned, is the time
when the cron(8) daemon startup. In particular, it may be before some
system daemons, or other facilities, were startup.