This repository has been archived by the owner on Apr 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 522
NSM: check for FORCE_YES #1176
Comments
dougburks
changed the title
nsm_sensor_clear: check for FORCE_YES
NSM: check for FORCE_YES
Dec 1, 2017
I had a problem with it and just found this answer now! Thanks! By the way, I did it right after my post to security-onion group: # prompt to clear the sensor if [ -z $FORCE_YES ] then prompt_user_yesno "Clear Sensor" "All collected data for sensor \"${SENSOR_NAME}\" will be cleared.\n\nDo you want to continue?" "N" ["$?" -ne 0 ] && exit 1 if [ "$PROMPT_RET" != "Y" -a "$PROMPT_RET" != "y" ] then exit 1 fi fi |
submitted for testing: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://groups.google.com/d/topic/security-onion/kHxC7QQ5Qv0/discussion
The text was updated successfully, but these errors were encountered: