mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-15 08:54:09 +01:00
Check for Ubuntu
This commit is contained in:
3 files changed
+43
No files matched your search
@@ -2303,6 +2303,17 @@ so_add_user() {
|
||||
fi
|
||||
}
|
||||
|
||||
ubuntu_check() {
|
||||
if [[ $OS == "ubuntu" ]]; then
|
||||
if [[ $waitforstate ]]; then
|
||||
whiptail_ubuntu_notsupported
|
||||
exit 1
|
||||
else
|
||||
whiptail_ubuntu_warning
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
update_sudoers_for_testing() {
|
||||
if [ -n "$TESTING" ]; then
|
||||
info "Ensuring $INSTALLUSERNAME has password-less sudo access for automated testing purposes."
|
||||
|
||||
Reference in new issue
Block a user