Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
👍🏼

Mike Schem michaelschem

💭
👍🏼
View GitHub Profile
@michaelschem
michaelschem / filebeat_armhf.sh
Created Jan 25, 2022 — forked from lazywebm/filebeat_armhf.sh
Repackaging filebeat as .deb for 32 bit Raspbian
View filebeat_armhf.sh
#!/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