diff options
author | Apachez <apachez@gmail.com> | 2024-03-04 18:59:54 +0100 |
---|---|---|
committer | Apachez <apachez@gmail.com> | 2024-03-04 18:59:54 +0100 |
commit | 433faaa9fe7d7dfc02db78ff039e772f5037037a (patch) | |
tree | 7ebb9024acd92bd31c568341cca049c3d8fc8ed9 /src/init | |
parent | 450bb16795305e32e46b21da4bb5913843d9d871 (diff) | |
download | vyos-1x-433faaa9fe7d7dfc02db78ff039e772f5037037a.tar.gz vyos-1x-433faaa9fe7d7dfc02db78ff039e772f5037037a.zip |
T6096: Config commits are not synced properly because 00vyos-sync is deleted by vyos-router
Diffstat (limited to 'src/init')
-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 |