diff options
author | P. 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) |
commit | 0ce7964e31afaf937221ef6a41e7c1d1643fb672 (patch) | |
tree | a1098f13cd167ff36827c3b449462cb673f1ef53 | |
parent | 0291f7979be770fce78b73af3e0a11db75e2ef0e (diff) |
kernel-postinst.sh: Make /boot/vmlinuz.old
This will only happen on initial installation.
-rw-r--r-- | kernel-postinst.sh | 4 |
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 |