Custome script on boot

Greetings to All,

I recently purchased PR4100 NAS , All I want is to make my ssh public keys to be persistent. After a boot /root/.ssh/id_rsa.pub is removed :confused: . Is there any tutorial that I can save my key on /root/.ssh path after PR4100 reboot/poweron .
Thanks

Regards

The Entware loader (init and clean) has a section that does this.

TLDR: get entware package.
I should make this a separate package someday.

I’ve done this via an other method .

using following