diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-24 15:34:23 +1000 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-24 15:34:23 +1000 |
commit | 7afbca72c1dfaf273eb366b2b372855ac1505440 (patch) | |
tree | 30e5474906ec132b250edae9801c408cb3f8c913 /scripts/vyatta-boot-image.pl | |
parent | 3c9d639f65240d1745b6186a16ce0f6eb918e65c (diff) | |
parent | 73dfd3113cfb1226366023ef61cae7c870b6159f (diff) | |
download | vyatta-op-mendocino.tar.gz vyatta-op-mendocino.zip |
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-op into mendocinomendocino
Diffstat (limited to 'scripts/vyatta-boot-image.pl')
-rwxr-xr-x | scripts/vyatta-boot-image.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vyatta-boot-image.pl b/scripts/vyatta-boot-image.pl index 9431711..367f4b4 100755 --- a/scripts/vyatta-boot-image.pl +++ b/scripts/vyatta-boot-image.pl @@ -296,6 +296,9 @@ Default boot image has been set to "$new_ver". You need to reboot the system to start the new default image. EOF + + system("logger -p local3.warning -t 'SystemImage' 'Default boot image has been changed from $def_ver to $new_ver'"); + exit 0; } @@ -463,6 +466,8 @@ sub doDelete { select_by_name($orig_def_ver, $def_ter); } + system("logger -p local3.warning -t 'SystemImage' 'System Image $del_ver has been deleted'"); + exit 0; } |