about summary refs log tree commit diff
path: root/3
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 /3
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 '3')
-rwxr-xr-x33
1 files changed, 1 insertions, 2 deletions
diff --git a/3 b/3
index e9593d4..98b61b7 100755
--- a/3
+++ b/3
@@ -8,8 +8,7 @@ detect_virt
 [ -r /etc/rc.conf ] && . /etc/rc.conf
 
 if [ -e /run/runit/reboot ]; then
-    touch /etc/runit/reboot
-    chmod 100 /etc/runit/reboot
+    chmod 100 /run/runit/reboot
 fi
 
 echo