mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 11:42:50 +01:00
Continued bash cleanup
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
. /usr/sbin/so-common
|
||||
source $(dirname $0)/so-common
|
||||
|
||||
if [[ $# -lt 1 || $# -gt 2 ]]; then
|
||||
echo "Usage: $0 <list|add|update|enable|disable|validate|valemail|valpass> [email]"
|
||||
|
||||
@@ -2040,7 +2040,7 @@ set_updates() {
|
||||
fi
|
||||
}
|
||||
|
||||
set_version() {
|
||||
mark_version() {
|
||||
# Drop a file with the current version
|
||||
echo "$SOVERSION" > /etc/soversion
|
||||
}
|
||||
|
||||
@@ -454,7 +454,7 @@ if [[ $is_minion ]]; then
|
||||
fi
|
||||
|
||||
{
|
||||
set_version;
|
||||
mark_version;
|
||||
clear_manager;
|
||||
} >> $setup_log 2>&1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user