summaryrefslogtreecommitdiff
path: root/scripts/vyatta-boot-image.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-boot-image.pl')
-rwxr-xr-xscripts/vyatta-boot-image.pl5
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;
}