Skip to content

Instantly share code, notes, and snippets.

View michaelschem's full-sized avatar
💭
👍🏼

Mike Schem michaelschem

💭
👍🏼
View GitHub Profile
@michaelschem
michaelschem / filebeat_armhf.sh
Created January 25, 2022 00:29 — forked from lazywebm/filebeat_armhf.sh
Repackaging filebeat as .deb for 32 bit Raspbian
#!/usr/bin/env bash
# v1.2 / 2021-05-29 / Jan Schumacher / mail@jschumacher.info
# https://jschumacher.info/2021/03/up-to-date-filebeat-for-32bit-raspbian-armhf/
#
# v1.2: shellcheck'd, fixing variable double quoting. Using "awk 'FNR <= 1'" instead of "head -n 1" to avoid PIPEFAIL and 141 error.
# v1.1: Removing realtive paths, fixing dpkg-deb repackage method, updating help text, typos.
set -Eeuo pipefail
#set -Eeu