unifios-utilities/on-boot-script/examples/udm-files/on_boot.sh

10 lines
156 B
Bash
Raw Normal View History

2020-05-31 13:40:04 +00:00
#!/bin/sh
if [ -d /mnt/data/on_boot.d ]; then
for i in /mnt/data/on_boot.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
fi