diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-06 05:33:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 05:33:10 +0100 |
commit | 82492558cba9d02cb51a57cbcecbd187946fda0d (patch) | |
tree | c8b696e23eeda8ab7c357d48bbe5eac0edf13138 | |
parent | 44a37687ccfa10a50f079611870d738484c6a4c4 (diff) | |
parent | 433faaa9fe7d7dfc02db78ff039e772f5037037a (diff) | |
download | vyos-1x-82492558cba9d02cb51a57cbcecbd187946fda0d.tar.gz vyos-1x-82492558cba9d02cb51a57cbcecbd187946fda0d.zip |
Merge pull request #3085 from Apachez-/T6096
T6096: Config commits are not synced properly because 00vyos-sync is deleted by vyos-router
-rwxr-xr-x | src/init/vyos-router | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init/vyos-router b/src/init/vyos-router index eac3e7e47..912a9ef3b 100755 --- a/src/init/vyos-router +++ b/src/init/vyos-router @@ -218,8 +218,8 @@ cleanup_post_commit_hooks () { # note that this approach only supports hooks that are "configured", # i.e., it does not support hooks that need to always be present. cpostdir=$(cli-shell-api getPostCommitHookDir) - # exclude commits hooks from vyatta-cfg - excluded="10vyatta-log-commit.pl 99vyos-user-postcommit-hooks" + # exclude commit hooks that need to always be present + excluded="00vyos-sync 10vyatta-log-commit.pl 99vyos-user-postcommit-hooks" if [ -d "$cpostdir" ]; then for f in $cpostdir/*; do if [[ ! $excluded =~ $(basename $f) ]]; then |