Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 17 years ago
parent
commit
f2e00cdf0b
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      package/base/rockinitrd/postinstall.sh

+ 4
- 2
package/base/rockinitrd/postinstall.sh

@ -1,5 +1,7 @@
if any_installed "boot/initrd.img" ; then
echo "Re-Creating initrd..."
/sbin/mkinitrd
kver=`find /boot/initrd.img -printf '%l\n' | sed 's,.*initrd-,,; s,\.img$,,;'`
echo "Re-Creating initrd ($kver) ..."
/sbin/mkinitrd $kver
fi

Loading…
Cancel
Save