diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2000-01-31 22:24:10 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2000-01-31 22:24:10 +0000 |
commit | a84618ee572933ecd2958963a4e1e3ff1fc41082 (patch) | |
tree | 93a27de64b2837c8e9a813383353ee20b42d89d7 /rc.d | |
parent | d1eccdf7232e954803c3b5379f3a3a6eca5f3b01 (diff) | |
download | initscripts-a84618ee572933ecd2958963a4e1e3ff1fc41082.tar initscripts-a84618ee572933ecd2958963a4e1e3ff1fc41082.tar.gz initscripts-a84618ee572933ecd2958963a4e1e3ff1fc41082.tar.bz2 initscripts-a84618ee572933ecd2958963a4e1e3ff1fc41082.tar.xz initscripts-a84618ee572933ecd2958963a4e1e3ff1fc41082.zip |
* sysconfig/network-scripts/ifdown-post:
attempt to reset the default route in case we dropped it for PPP
* src/ipcalc.1:
document the "--silent" option
* src/shvar.c:
strtok() and other cleanups
* rc.d/rc.sysinit:
make symlinks for System.map and module-info automatically
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 844af28d..b08a40c3 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -518,6 +518,21 @@ if [ "$SMP" != "$OLDSMP" -o "$UP" != "$OLDUP" ]; then EOF fi +# Adjust symlinks as necessary in /boot to keep system services from +# spewing messages about mismatched System maps and so on. +if [ -L /boot/System.map -a -r /boot/System.map-`uname -r` ] ; then + ln -s -f System.map-`uname -r` /boot/System.map +fi +if [ ! -e /boot/System.map -a -r /boot/System.map-`uname -r` ] ; then + ln -s -f System.map-`uname -r` /boot/System.map +fi +if [ -L /boot/module-info -a -r /boot/module-info-`uname -r` ] ; then + ln -s -f module-info-`uname -r` /boot/module-info +fi +if [ ! -e /boot/module-info -a -r /boot/module-info-`uname -r` ] ; then + ln -s -f module-info-`uname -r` /boot/module-info +fi + # Now that we have all of our basic modules loaded and the kernel going, # let's dump the syslog ring somewhere so we can find it later dmesg > /var/log/dmesg |