Open ghostinushanka opened 1 year ago
/data/on_boot.d might not exist when this script is ran (e.g. on an unmodded Ubiquiti device).
/data/on_boot.d
No having this directory present will result in following error (output redirect creates a target file, but not the directory tree for the file)
-bash: /data/on_boot.d/01-load-macvlan-module.sh: No such file or directory
Make sure script handles this case correctly and creates the dir before heredoc file creation.
/data/on_boot.d
might not exist when this script is ran (e.g. on an unmodded Ubiquiti device).No having this directory present will result in following error (output redirect creates a target file, but not the directory tree for the file)
Make sure script handles this case correctly and creates the dir before heredoc file creation.