My program runs on BBB (debian) and depends on device tree overlay (SPI).
- Overlay compiled and added to /etc/default/capemgr: CAPE=BB-DSPI1.
 - LSB-script that executes my prog added to the system with update-rc.d, Required-Start parameter is $all
 - Running script maually after booting with start parameter works as expected.
 - During boot-up sequence execution fails, since /sys/devices/ocp.3/481a0000.spi/spi_master/ not found.
 - I used to have another BBB configured same way. There was no issue.
 
Can anyone explain how to run my prog at startup?
                        
edit script:
# Required-Start: capemgr.sh