diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install/install-get-partition | 2 | ||||
-rwxr-xr-x | scripts/vyatta-interfaces.pl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition index f010291e..85c10358 100755 --- a/scripts/install/install-get-partition +++ b/scripts/install/install-get-partition @@ -582,7 +582,7 @@ save_old_info() { if [ $num_images -gt 1 ]; then image_index=-1 while [ $image_index -lt 0 -o $image_index -ge $num_images ]; do - echo -n "Which image would you like to use? (1 .. $num_images): " + echo -n "From which image would you like to save config information? (1 .. $num_images): " read num image_index=$((num - 1)) done diff --git a/scripts/vyatta-interfaces.pl b/scripts/vyatta-interfaces.pl index 8970790f..90d8dfc7 100755 --- a/scripts/vyatta-interfaces.pl +++ b/scripts/vyatta-interfaces.pl @@ -537,6 +537,8 @@ sub show_config_path { die "$name does not match any known interface name type\n" unless $intf; my $level = $intf->path(); + die "$name does not have a known path\n" unless $level; + $level =~ s/ /\//g; print "/opt/vyatta/config/active/$level\n"; } |