From d0c01ccafb6099d5b78e7809dc7241b10d90b674 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 14 Apr 2018 20:30:01 +0530 Subject: [PATCH] Ensure all services are set for on-boot enable Signed-off-by: Harsh Shandilya --- update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update.sh b/update.sh index 67ffa10..4f2d5fb 100755 --- a/update.sh +++ b/update.sh @@ -29,4 +29,5 @@ sleep 5 for service in ${services};do reportWarning "Restarting ${service}" service ${service} restart + [[ -f /etc/systemd/system/${service}.service ]] || systemctl enable ${service} done \ No newline at end of file