aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-07-20 01:18:11 +0300
committerCem Keylan <cem@ckyln.com>2020-07-20 01:18:11 +0300
commit8f2416cbda412ee42b952810f47c5ccef3560932 (patch)
treea6301f74b165b16f0510b11ebfb0c2db21903c26 /rc.shutdown
parentacb42d5c8d53331a6257c1a472686faaa5e5dad9 (diff)
downloadinit-8f2416cbda412ee42b952810f47c5ccef3560932.tar.gz
shalt: change coding style, add response, parse arguments with arg.h
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.shutdown b/rc.shutdown
index a3f14d5..daa346d 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -41,4 +41,4 @@ out "Remounting rootfs as readonly..."; {
run_hook post.shutdown
-case "$1" in reboot) shalt r ;; poweroff) shalt p; esac
+case "$1" in reboot) shalt -r ;; poweroff) shalt -p; esac