From fb25540b4c1fc8588a501c217076752ae27f93c4 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 5 Jun 2024 20:01:44 -0500 Subject: migration: T6006: add vyos data dir --- etc/default/vyatta.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/default/vyatta.in b/etc/default/vyatta.in index 909f124..5e6efc5 100644 --- a/etc/default/vyatta.in +++ b/etc/default/vyatta.in @@ -158,6 +158,7 @@ unset _vyatta_extglob declare -x -r vyos_libexec_dir=/usr/libexec/vyos declare -x -r vyos_bin_dir=/usr/bin declare -x -r vyos_sbin_dir=/usr/sbin + declare -x -r vyos_share_dir=/usr/share if test -z "$vyos_conf_scripts_dir" ; then declare -x -r vyos_conf_scripts_dir=$vyos_libexec_dir/conf_mode @@ -171,6 +172,9 @@ unset _vyatta_extglob if test -z "$vyos_validators_dir" ; then declare -x -r vyos_validators_dir=$vyos_libexec_dir/validators fi + if test -z "$vyos_data_dir" ; then + declare -x -r vyos_data_dir=$vyos_share_dir/vyos + fi if test -z "$vyos_persistence_dir" ; then UNION_NAME=$(cat /proc/cmdline | sed -e s+^.*vyos-union=++ | sed -e 's/ .*$//') declare -x -r vyos_persistence_dir="/usr/lib/live/mount/persistence/${UNION_NAME}" -- cgit v1.2.3