summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-11-09 23:36:46 (EST)
committer P. J. McDermott <pj@pehjota.net>2014-11-09 23:36:46 (EST)
commit0ce7964e31afaf937221ef6a41e7c1d1643fb672 (patch)
treea1098f13cd167ff36827c3b449462cb673f1ef53
parent0291f7979be770fce78b73af3e0a11db75e2ef0e (diff)
kernel-postinst.sh: Make /boot/vmlinuz.old
This will only happen on initial installation.
-rw-r--r--kernel-postinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel-postinst.sh b/kernel-postinst.sh
index 5a996aa..069dacc 100644
--- a/kernel-postinst.sh
+++ b/kernel-postinst.sh
@@ -1,4 +1,8 @@
#!/bin/sh
+if ! [ /boot/vmlinuz.old ]; then
+ ln /boot/vmlinuz /boot/vmlinuz.old
+fi
+
install-lilo
exit 0