From bcc3412a793a14aed792f87e35b2a52d2f0d91ee Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 15 Aug 2011 11:52:12 -0700 Subject: [PATCH] Include upstart actions in backup --- init/backup_config.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init/backup_config.pl b/init/backup_config.pl index d0d0309f2..e48b46490 100755 --- a/init/backup_config.pl +++ b/init/backup_config.pl @@ -16,6 +16,10 @@ if ($config{'init_base'}) { -r "$config{'daemons_dir'}/$ac[0]") { push(@rv, "$config{'daemons_dir'}/$ac[0]"); } + local $ufile = "/etc/init/$ac[0]"; + if (-r $ufile) { + push(@rv, $ufile); + } } } else {