mirror of
git://slackware.nl/current.git
synced 2025-02-15 08:50:09 +01:00
16 lines
651 B
Text
16 lines
651 B
Text
![]() |
# Only run this if we aren't in the installer.
|
||
|
# We'll do these things after the install.
|
||
|
# First we'll check for an old version of setup.01.mkinitrd. If we find one,
|
||
|
# let's skip all this. We could be upgrading from 15.0...
|
||
|
if [ -r var/lib/pkgtools/setup/setup.01.mkinitrd ]; then
|
||
|
if ! grep -wq vmlinuz-generic-smp var/lib/pkgtools/setup/setup.01.mkinitrd 2> /dev/null ; then
|
||
|
if [ -z "$INSIDE_INSTALLER" ]; then
|
||
|
# Generate the initrd and remove orphaned initrds.
|
||
|
# Options (including disabling this) may be found in /etc/default/geninitrd.
|
||
|
if [ -x usr/sbin/geninitrd ]; then
|
||
|
usr/sbin/geninitrd
|
||
|
fi
|
||
|
fi
|
||
|
fi
|
||
|
fi
|