Skip to content

Instantly share code, notes, and snippets.

ferdinandkeil

Block or report user

Report or block ferdinandkeil

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ferdinandkeil
ferdinandkeil / config.txt
Created Jan 15, 2017
/boot/config.txt for read-only fs on Raspbian
View config.txt
# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
@ferdinandkeil
ferdinandkeil / overlay
Created Jan 15, 2017
/usr/share/initramfs-tools/scripts/overlay for read-only fs on Raspbian
View overlay
# Local filesystem mounting -*- shell-script -*-
local_top()
{
if [ "${local_top_used}" != "yes" ]; then
[ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top"
run_scripts /scripts/local-top
[ "$quiet" != "y" ] && log_end_msg
fi
local_top_used=yes
@ferdinandkeil
ferdinandkeil / hook-functions
Created Jan 15, 2017
/usr/share/initramfs-tools/hook-functions for read-only fs on Raspbian
View hook-functions
# -*- shell-script -*-
catenate_cpiogz() {
# Sanity check
if [ ! -e "${1}" ]; then
echo "W: catenate_cpiogz: arg1='${1}' does not exist." >&2
return
fi
cat "${1}" >>"${__TMPCPIOGZ}"
You can’t perform that action at this time.