summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmlog
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-09-02 08:44:52 +0200
committerJoe <rbo@gmx.us>2025-09-02 08:44:52 +0200
commitbc58611527df2d4a1c38ca6cb4d58ecc8cb3911b (patch)
tree1d3a7de4cd2463d15e2c31c033e4861fa29cce40 /.local/bin/dmlog
parentup (diff)
downloaddotfiles-bsd-bc58611527df2d4a1c38ca6cb4d58ecc8cb3911b.tar.gz
dotfiles-bsd-bc58611527df2d4a1c38ca6cb4d58ecc8cb3911b.tar.bz2
dotfiles-bsd-bc58611527df2d4a1c38ca6cb4d58ecc8cb3911b.tar.xz
dotfiles-bsd-bc58611527df2d4a1c38ca6cb4d58ecc8cb3911b.tar.zst
dotfiles-bsd-bc58611527df2d4a1c38ca6cb4d58ecc8cb3911b.zip
Diffstat (limited to '.local/bin/dmlog')
-rwxr-xr-x.local/bin/dmlog2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/dmlog b/.local/bin/dmlog
index 7264d75..9244cbf 100755
--- a/.local/bin/dmlog
+++ b/.local/bin/dmlog
@@ -90,6 +90,7 @@ sub action
);
sleep 2;
if (HOSTNAME eq 'mother') {
+ system('umount', '-f', '/var/dev/ceres');
exec(LOGINCTL_PATH, 'suspend');
}
elsif (HOSTNAME eq 'po-rbo') {
@@ -109,6 +110,7 @@ sub action
elsif ($var eq ${+LIST}[3]) {
if (confirm($var, $color) == 1) {
if (HOSTNAME eq 'mother') {
+ system('umount', '-f', '/var/dev/ceres');
exec(LOGINCTL_PATH, 'reboot');
}
elsif (HOSTNAME eq 'po-rbo') {