summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-02-01 19:08:21 +0100
committerache <ache@ache.one>2018-02-01 19:08:21 +0100
commit05499d8b45a4687762d30cb7ba246edc615c0765 (patch)
tree779f16e003f377b5bb442c0399f6c46ed126b45f /functions
parentEnd the merge (diff)
New function qreboot
Diffstat (limited to 'functions')
-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'