220313.6 · 56db90aa98313c38782eac76f8623d36708777d2
kodos: more changes for kait's laptop
reading declarations
Changes to system/usr/lib/systemd/. All files
system/usr/lib/systemd/system-sleep/system76-darter-hook-sleep/kodos
@@ -0,0 +1,23 @@+#!/bin/sh++# This is a systemd hook script that is run whenever+# suspend/resume takes place. It should be symlinked into+# /usr/lib/systemd/system-sleep.++# To see logs from this script, use:+#+# journalctl -b -u systemd-suspend.service++# $1 is 'pre' (going to sleep) or 'post' (waking up)+# $2 is 'suspend', 'hibernate' or 'hybrid-sleep'+case "$1/$2" in+ pre/*)+ if lsmod | grep -q thunderbolt; then+ sudo rmmod thunderbolt+ fi+ ;;+ post/*)+ /home/kait/bin/system76-darter-set-kbd-backlight+ sudo modprobe thunderbolt+ ;;+esac
system/usr/lib/systemd/system-sleep/system76-darter-hook-sleep/krusty
@@ -1,23 +0,0 @@-#!/bin/sh--# This is a systemd hook script that is run whenever-# suspend/resume takes place. It should be symlinked into-# /usr/lib/systemd/system-sleep.--# To see logs from this script, use:-#-# journalctl -b -u systemd-suspend.service--# $1 is 'pre' (going to sleep) or 'post' (waking up)-# $2 is 'suspend', 'hibernate' or 'hybrid-sleep'-case "$1/$2" in- pre/*)- if lsmod | grep -q thunderbolt; then- sudo rmmod thunderbolt- fi- ;;- post/*)- /home/andrew/bin/system76-darter-set-kbd-backlight- sudo modprobe thunderbolt- ;;-esac