Skip to content

Instantly share code, notes, and snippets.

#!/bin/env bash
# adapted from diko_d scripts
# untested, made by ziggurat
if [[ "${1}" == "install" ]]; then
if grep -Fxq "" /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml; then
cat <<_END_
sigboe / suspend-modules
Last active August 20, 2019 21:26 — forked from mauron85/suspend-modules
Systemd unload modules on sleep
View suspend-modules
# Put into /lib/systemd/system-sleep/suspend-modules
# chmod a+x /lib/systemd/system-sleep/suspend-modules
# Unloads kernel modules defined in /etc/suspend-modules.d/*.conf
# and /etc/suspend-modules
# with one module per line
# Too see credits, see git history
sigboe / vlc play
Last active September 1, 2016 11:56
View vlc play
while true; do
vlc "/mnt/fileserver/folderwithfiles" --fullscreen --no-mouse-events --no-osd --no-audio ;