Page MenuHomeVyOS Platform

Scripts from the /config/scripts/ folder do not run on live system
Closed, ResolvedPublicBUG

Description

Inside the vyos-router file paths to user scripts are hardcoded to the /config/scripts/ folder, but in live system /opt/vyatta/etc/config/ does not mount to the /config/.
Most likely, it should be replaced with $vyatta_sysconfdir/config/scripts/ to provide proper paths for all boot modes.

Details

Difficulty level
Easy (less than an hour)
Version
1.2.6-S1, 1.3-beta-202103170443, 1.4-rolling-202103230217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible