summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-02-01 20:02:34 +0100
committerache <ache@ache.one>2018-02-01 20:02:34 +0100
commit8cf3611e180371c1ae2974c89390443f620e5c71 (patch)
tree93031ee1b680971d420f023127611e453153a85c
parentAdd node module to path (diff)
parentNew function qreboot (diff)
Merge branch 'master' of git.ache.one:git/fish
-rw-r--r--functions/qreboot.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/qreboot.fish b/functions/qreboot.fish
new file mode 100644
index 0000000..9046812
--- /dev/null
+++ b/functions/qreboot.fish
@@ -0,0 +1 @@
+alias qreboot='sudo sync;sudo kexec -l /boot/vmlinuz-linux --initrd=/boot/initramfs-linux.img --reuse-cmdline; sudo kexec -e'