From 1af924a9cd1009218bc0f8e8f434a87151781744 Mon Sep 17 00:00:00 2001 From: Jakub Filo Date: Tue, 7 Sep 2021 17:16:36 +0000 Subject: [PATCH] Add '.local/bin/alpine-fallasleep.sh' --- .local/bin/alpine-fallasleep.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .local/bin/alpine-fallasleep.sh diff --git a/.local/bin/alpine-fallasleep.sh b/.local/bin/alpine-fallasleep.sh new file mode 100644 index 0000000..ba7c0d5 --- /dev/null +++ b/.local/bin/alpine-fallasleep.sh @@ -0,0 +1,7 @@ +#!/bin/sh +screenlockdown.sh !& +sudo lbu ci && +sudo umount /media/usb -r; +sudo su -c "echo mem > /sys/power/state" +sudo mount /media/usb -o rw; +sudo mount /media/usb -o remount,rw