mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-22 00:43:09 +01:00
[refactor][fix] Move nmcli status list gen to a function
nmcli is only assured to be installed after detect_os is run so move this command to a function so it can run after detect_os
This commit is contained in:
@@ -109,6 +109,7 @@ export PATH=$PATH:../salt/common/tools/sbin
|
||||
got_root
|
||||
|
||||
detect_os && detect_ec2
|
||||
set_network_dev_status_list
|
||||
|
||||
if [ "$OS" == ubuntu ]; then
|
||||
update-alternatives --set newt-palette /etc/newt/palette.original >> $setup_log 2>&1
|
||||
|
||||
Reference in New Issue
Block a user