From 59494688f9e791179e0411d4ef9f1622376f22ea Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Jul 2008 14:08:17 -0700 Subject: fix for bug 1130. disable ctrl-c during load command to prevent partial load. --- scripts/vyatta-load-config.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/vyatta-load-config.pl') diff --git a/scripts/vyatta-load-config.pl b/scripts/vyatta-load-config.pl index ee4a9c4..dfbf575 100755 --- a/scripts/vyatta-load-config.pl +++ b/scripts/vyatta-load-config.pl @@ -28,6 +28,8 @@ use IO::Prompt; use Sys::Syslog qw(:standard :macros); use VyattaConfigLoad; +$SIG{'INT'} = 'IGNORE'; + my $etcdir = $ENV{vyatta_sysconfdir}; my $sbindir = $ENV{vyatta_sbindir}; my $bootpath = $etcdir . "/config"; -- cgit v1.2.3