]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - shell-completion/bash/kernel-install
hwdb: Add accelerometer orientation quirk for the PoV TAB-P1006W-232-3G
[thirdparty/systemd.git] / shell-completion / bash / kernel-install
index 5a78528d36beb27b59be58590bc5e5648275d6a3..ca8c0e20efebf2927b9fb3c84b40fd01a844d2b4 100644 (file)
@@ -3,8 +3,6 @@
 #
 # This file is part of systemd.
 #
-# Copyright 2013 Kay Sievers
-# Copyright 2013 Harald Hoyer
 #
 # systemd is free software; you can redistribute it and/or modify it
 # under the terms of the GNU Lesser General Public License as published by
@@ -38,7 +36,7 @@ _kernel_install() {
                 fi
                 ;;
             3)
-                [[ "$cur" ]] || cur=/boot/vmlinuz-${COMP_WORDS[2]}
+                [[ "$cur" ]] || cur=/lib/modules/${COMP_WORDS[2]}/vmlinuz
                 comps=$(compgen -f -- "$cur")
                 compopt -o filenames
                 ;;