summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'modules/kernel.uselect')
-rw-r--r--modules/kernel.uselect24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/kernel.uselect b/modules/kernel.uselect
new file mode 100644
index 0000000..646730a
--- /dev/null
+++ b/modules/kernel.uselect
@@ -0,0 +1,24 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# kernel.uselect mephx.x@gmail.com
+
+module kernel {
+ description "Kernel Switcher"
+ version "0.1"
+ author "mephx.x@gmail.com"
+} kernel
+
+system action src {
+ description "Change current kernel source target"
+ type sym
+ sym linux /usr/src/linux /usr/src/ (.*)-(.*$) *
+} src
+
+system action boot {
+ description "Change current kernel boot target"
+ type sym
+ sym vmlinuz /boot/vmlinuz /boot/ vmlinuz-(.*$) *
+} boot
+
+
+