]> git.ipfire.org Git - ipfire-2.x.git/blame - src/boot.d/08-updatesystem.map
Ein NTFS-Update fuer den Heiner :D
[ipfire-2.x.git] / src / boot.d / 08-updatesystem.map
CommitLineData
f8ae001e
MT
1#!/bin/sh
2echo "Updating System.map file location"
3if [ -L /boot/System.map -a -r /boot/System.map-`uname -r` -a \
4 ! /boot/System.map -ef /boot/System.map-`uname -r` ]; then
5 ln -s -f System.map-`uname -r` /boot/System.map
6fi
7if [ ! -e /boot/System.map -a -r /boot/System.map-`uname -r` ]; then
8 ln -s -f System.map-`uname -r` /boot/System.map
9fi