about summary refs log tree commit diff
path: root/ctrlaltdel
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-16 17:27:41 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-16 17:27:41 +0200
commit5f0e6c84ebf16a76c5420649b9112271e7f095a0 (patch)
tree476f62b540fa5e55ee127ee6ce5aee49ca7d2a7c /ctrlaltdel
parent1f1eddd94d618f0e8cb109238aba8a891305b1ac (diff)
downloadrunit-void-5f0e6c84ebf16a76c5420649b9112271e7f095a0.tar.gz
runit-void-5f0e6c84ebf16a76c5420649b9112271e7f095a0.tar.xz
runit-void-5f0e6c84ebf16a76c5420649b9112271e7f095a0.zip
Fix shutdown regression introduced in 9022506f.
Diffstat (limited to 'ctrlaltdel')
-rwxr-xr-xctrlaltdel3
1 files changed, 1 insertions, 2 deletions
diff --git a/ctrlaltdel b/ctrlaltdel
index af70ed6..7738067 100755
--- a/ctrlaltdel
+++ b/ctrlaltdel
@@ -7,5 +7,4 @@ MSG="System is going down..."
 touch /run/runit/reboot
 
 # Proceed with shutdown process
-touch /etc/runit/stopit
-chmod 100 /etc/runit/stopit && echo "$MSG" | wall
+echo "$MSG" | wall