[Feature: 1363] rootfs: add a support to execute custom script at startup
This will allow users to have special configuration (that is not possible to
achieve by just using dot-config) without a need to manually handle custom
script.
The script can be used from /wr/bin/custom_boot_script.sh or downloaded during
the boot. It is not possible to execute a script which was downloaded during
the previous boot. But a script can be written in such way to copy itself to
/wr/bin/custom_boot_script.sh.
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
Showing
- Kconfig 42 additions, 0 deletionsKconfig
- doc/wrs-user-manual.in 20 additions, 2 deletionsdoc/wrs-user-manual.in
- userspace/rootfs_override/etc/init.d/wrs_custom_boot_script.sh 189 additions, 0 deletions...pace/rootfs_override/etc/init.d/wrs_custom_boot_script.sh
- userspace/rootfs_override/etc/rcS/S80wrs_custom_boot_script.sh 1 addition, 0 deletions...pace/rootfs_override/etc/rcS/S80wrs_custom_boot_script.sh
- userspace/rootfs_override/wr/bin/custom_boot_script.sh 35 additions, 0 deletionsuserspace/rootfs_override/wr/bin/custom_boot_script.sh
Please register or sign in to comment