diff options
author | ache <ache@ache.one> | 2022-10-31 02:25:52 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2022-10-31 02:25:52 +0100 |
commit | c519d5af5821407fa3c213344a80e74d46162891 (patch) | |
tree | 99150e96fe9e54319850736d3dd5b7b97b147988 | |
parent | Remove unused functions (diff) |
Use systemctl to quick reboot
-rw-r--r-- | functions/qreboot.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/qreboot.fish b/functions/qreboot.fish index 9046812..09b0eb7 100644 --- a/functions/qreboot.fish +++ b/functions/qreboot.fish @@ -1 +1 @@ -alias qreboot='sudo sync;sudo kexec -l /boot/vmlinuz-linux --initrd=/boot/initramfs-linux.img --reuse-cmdline; sudo kexec -e' +alias qreboot='sudo sync;sudo kexec -l /boot/vmlinuz-linux --initrd=/boot/initramfs-linux.img --reuse-cmdline; sudo systemctl kexec' |