diff options
author | Apachez <apachez@gmail.com> | 2024-03-04 18:59:54 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-06 04:33:40 +0000 |
commit | 72e82a5ba0159f1cb3e077afa33f5141374aa953 (patch) | |
tree | baba27b9187f338d73f9594ba96dc02be20db871 /src | |
parent | cf906599a9ce99fce04645c822093a0eab980c97 (diff) | |
download | vyos-1x-72e82a5ba0159f1cb3e077afa33f5141374aa953.tar.gz vyos-1x-72e82a5ba0159f1cb3e077afa33f5141374aa953.zip |
T6096: Config commits are not synced properly because 00vyos-sync is deleted by vyos-router
(cherry picked from commit 433faaa9fe7d7dfc02db78ff039e772f5037037a)
Diffstat (limited to 'src')
-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 |