0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-05 02:06:57 +00:00
2018-07-18 20:44:40 +02:00

17 lines
409 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
. /etc/profile
# see https://wiki.archlinux.org/index.php/Power_Management#Hooks_in_.2Fusr.2Flib.2Fsystemd.2Fsystem-sleep
for script in $HOME/.config/sleep.d/*.power; do
if [ -f $script ]; then
progress "running custom sleep script $script ($@)..."
sh $script $@
fi
done
exit 0