changes.
This commit is contained in:
parent
8e108f45d7
commit
75577906fa
2 changed files with 205 additions and 1 deletions
|
@ -116,6 +116,7 @@ init_groups() {
|
|||
|
||||
setup_autostart() {
|
||||
if command_exists systemctl; then
|
||||
printf "%b\n" "${GREEN}Adding docker as a service to start automatically!${RC}"
|
||||
"$ESCALATION_TOOL" systemctl enable --now docker
|
||||
else
|
||||
printf "%b\n" "${RED}The command 'systemctl' does not exist!${RC}"
|
||||
|
@ -126,4 +127,4 @@ checkEnv
|
|||
checkEscalationTool
|
||||
install_components
|
||||
init_groups
|
||||
|
||||
setup_autostart
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue