====== slackupdr ====== slackupdr automates the use of slackpkg, manages installation of multiple kernels & updates LILO & ELILO bootloaders. The script expects to be run as the root user. slackupdr is menu & config file driven. it is on https://slackbuilds.org/repository/15.0/system/slackupdr/?search=slackupdr once installed you will need to create a mkinitrd.conf cp /etc/mkinitrd.conf.sample /etc/mkinitrd.conf and then simply run slackupdr as root slackupdr ==== REQUIREMENTS ==== /etc/mkinitrd.conf This file is normally optional in Slackware. slackupdr does not allow the administrator to pass options on the command line to mkinitd. A sample file /etc/mkinitrd.sample should be available to the administrator. See mkinitrd.conf(5) for more information. /etc/slackpkg/slackupdr.conf This file is provided with slackupdr. All but 2 of the variables set in this file can be left to default. The 2 exceptions are TEMPLATE_LILO & TEMPLATE_ELILO. See slackupdr.conf(5) for more information. TEMPLATE_LILO & TEMPLATE_ELILO Depending on the bootloader in use, only 1 of these 2 variables requires modification. This applies the the "LILO Updater" & "EFI Updater" menu items. These templates are used to completely rebuild either lilo.conf or elilo.conf. The administrator can add or delete lines in the templates as needed with special attention to adding the required comments. There are 3 types of comments that the script uses to process the templates. The lines with the "#CLONE" comment are copied as-is with the "#CLONE" comment removed before the save to disk. There is a single line with the "#DEFAULT" comment that must be present. This line is used to point to the default kernel on boot. The "#DEFAULT" comment is removed before the save to disk. The final 2 comments are the "#GENERIC" & "#HUGE" comments that are required on the lines that make up the kernel image sections. Both comment types are removed before the save to disk.