mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
need quotes for logCmd
This commit is contained in:
@@ -1058,8 +1058,8 @@ installer_prereq_packages() {
|
|||||||
info "Enabling network manager for the main interface"
|
info "Enabling network manager for the main interface"
|
||||||
logCmd "sed -i s/managed=false/managed=true/g /etc/NetworkManager/NetworkManager.conf"
|
logCmd "sed -i s/managed=false/managed=true/g /etc/NetworkManager/NetworkManager.conf"
|
||||||
fi
|
fi
|
||||||
logCmd systemctl enable NetworkManager
|
logCmd "systemctl enable NetworkManager"
|
||||||
logCmd systemctl start NetworkManager
|
logCmd "systemctl start NetworkManager"
|
||||||
fi
|
fi
|
||||||
if ! command -v curl > /dev/null 2>&1; then
|
if ! command -v curl > /dev/null 2>&1; then
|
||||||
retry 150 10 "apt-get -y install curl" >> "$setup_log" 2>&1 || fail_setup
|
retry 150 10 "apt-get -y install curl" >> "$setup_log" 2>&1 || fail_setup
|
||||||
|
|||||||
Reference in New Issue
Block a user