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