aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/mandriva-boot-links
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-08-04 14:26:29 +0100
committerColin Guthrie <colin@mageia.org>2013-08-04 14:26:29 +0100
commite1de1e19a46876c1df2c29b7acfbcaab93b2cca4 (patch)
treea9b327fae77b1d5852e62afda6ad368b78105cd2 /systemd/mandriva-boot-links
parent262427f6197e1e00fea9687c99eb77c417543be2 (diff)
downloadinitscripts-e1de1e19a46876c1df2c29b7acfbcaab93b2cca4.tar
initscripts-e1de1e19a46876c1df2c29b7acfbcaab93b2cca4.tar.gz
initscripts-e1de1e19a46876c1df2c29b7acfbcaab93b2cca4.tar.bz2
initscripts-e1de1e19a46876c1df2c29b7acfbcaab93b2cca4.tar.xz
initscripts-e1de1e19a46876c1df2c29b7acfbcaab93b2cca4.zip
Kill mandriva-boot-links script+service
This used to run on boot to create symlinks in /boot for the currently running kernel. According to Thomas, this is no longer needed and can be dropped.
Diffstat (limited to 'systemd/mandriva-boot-links')
-rwxr-xr-xsystemd/mandriva-boot-links21
1 files changed, 0 insertions, 21 deletions
diff --git a/systemd/mandriva-boot-links b/systemd/mandriva-boot-links
deleted file mode 100755
index 50ecc71c..00000000
--- a/systemd/mandriva-boot-links
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-uname_r=$(uname -r)
-
-# 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 -a \
- ! /boot/System.map -ef /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
-
-# Adjust symlinks as necessary in /boot to have the default config
-if [ -L /boot/config -a -r /boot/config-$uname_r ] ; then
- ln -sf config-$uname_r /boot/config
-fi
-if [ ! -e /boot/config -a -r /boot/config-$uname_r ] ; then
- ln -sf config-$uname_r /boot/config
-fi