summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/dmlog4
1 files changed, 3 insertions, 1 deletions
diff --git a/.local/bin/dmlog b/.local/bin/dmlog
index a5f9b15..5b99d4f 100755
--- a/.local/bin/dmlog
+++ b/.local/bin/dmlog
@@ -95,7 +95,9 @@ sub action
notify("g'night, partner!");
sleep 2;
if (HOSTNAME eq 'mother') {
- system('umount', '-f', '/var/dev/ceres');
+ system(LOGINCTL_PATH, 'terminate-session', 'self');
+ # system('umount', '-f', '/var/dev/ceres');
+ sleep 2
exec(LOGINCTL_PATH, 'suspend');
}
elsif (HOSTNAME eq 'po-rbo') {