This repository was archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check for sosetup-elastic and /opt/elastic/src before offering Experi…
…mental option
- Loading branch information
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
securityonion-setup (20120912-0ubuntu0securityonion240) trusty; urgency=medium | ||
|
||
* check for sosetup-elastic and /opt/elastic/src before offering Experimental option | ||
|
||
-- Doug Burks <[email protected]> Tue, 29 Aug 2017 13:24:41 -0400 | ||
|
||
securityonion-setup (20120912-0ubuntu0securityonion239) trusty; urgency=medium | ||
|
||
* skip sosetup-network when passing from sosetup to sosetup-elastic | ||
|
43 changes: 43 additions & 0 deletions
43
...n/patches/check-for-sosetup-elastic-and-optelasticsrc-before-offering-Experimental-option
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Description: <short summary of the patch> | ||
TODO: Put a short summary on the line above and replace this paragraph | ||
with a longer explanation of this change. Complete the meta-information | ||
with other relevant fields (see below for details). To make it easier, the | ||
information below has been extracted from the changelog. Adjust it or drop | ||
it. | ||
. | ||
securityonion-setup (20120912-0ubuntu0securityonion240) trusty; urgency=medium | ||
. | ||
* check for sosetup-elastic and /opt/elastic/src before offering Experimental option | ||
Author: Doug Burks <[email protected]> | ||
|
||
--- | ||
The information above should follow the Patch Tagging Guidelines, please | ||
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here | ||
are templates for supplementary fields that you might want to add: | ||
|
||
Origin: <vendor|upstream|other>, <url of original patch> | ||
Bug: <url in upstream bugtracker> | ||
Bug-Debian: http://bugs.debian.org/<bugnumber> | ||
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> | ||
Forwarded: <no|not-needed|url proving that it has been forwarded> | ||
Reviewed-By: <name and email of someone who approved the patch> | ||
Last-Update: <YYYY-MM-DD> | ||
|
||
--- securityonion-setup-20120912.orig/bin/sosetup | ||
+++ securityonion-setup-20120912/bin/sosetup | ||
@@ -196,6 +196,7 @@ fi | ||
######################################### | ||
# Stable Setup or Experimental Setup | ||
######################################### | ||
+if [ -f /usr/sbin/sosetup-elastic ] && [ -d /opt/elastic/src ]; then | ||
TEXT="Stable Setup or Experimental Setup?\n\ | ||
\n\ | ||
Choosing Stable Setup will run the current stable version of Setup.\n\ | ||
@@ -221,6 +222,7 @@ if [ "$SETUP" == "Experimental Setup" ]; | ||
/usr/sbin/sosetup-elastic skipnetwork | ||
exit $? | ||
fi | ||
+fi | ||
|
||
######################################### | ||
# Evaluation Mode or Production Mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters