mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 11:12:51 +01:00
Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev
This commit is contained in:
@@ -714,7 +714,8 @@ disable_auto_start() {
|
|||||||
logCmd "crontab -u $INSTALLUSERNAME -r"
|
logCmd "crontab -u $INSTALLUSERNAME -r"
|
||||||
|
|
||||||
# Truncate last line of the bash profile
|
# Truncate last line of the bash profile
|
||||||
logCmd "sed -i '$ d' /home/$INSTALLUSERNAME/.bash_profile"
|
info "Removing auto-run of setup from bash profile"
|
||||||
|
sed -i '$ d' /home/$INSTALLUSERNAME/.bash_profile >> "$setup_log" 2>&1
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user