mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
Exit immediately if this is not an Amazon EC2 instance, and we're not
in debug mode
This commit is contained in:
parent
e079e4b8fe
commit
c28ddb8d13
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Exit immediately if this is not an Amazon EC2 instance, and we're not
|
||||
# in debug mode
|
||||
$(hostname | grep -qs "\.amazonaws\.com$") || [ -r "/tmp/ec2-cost-debug" ]
|
||||
[ "$?" = "0" ] || exit 0
|
||||
|
||||
# Instance Cost Basis
|
||||
# US Europe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue