diff options
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | systemd/mandriva-boot-links | 21 | ||||
-rw-r--r-- | systemd/system/mandriva-boot-links.service | 12 |
3 files changed, 0 insertions, 34 deletions
@@ -114,7 +114,6 @@ install: ln -s ../fedora-storage-init.service $(ROOT)/lib/systemd/system/local-fs.target.wants ln -s ../fedora-storage-init-late.service $(ROOT)/lib/systemd/system/local-fs.target.wants ln -s ../mandriva-kmsg-loglevel.service $(ROOT)/lib/systemd/system/sysinit.target.wants - ln -s ../mandriva-boot-links.service $(ROOT)/lib/systemd/system/basic.target.wants ln -s ../mandriva-save-dmesg.service $(ROOT)/lib/systemd/system/basic.target.wants ln -s ../mandriva-everytime.service $(ROOT)/lib/systemd/system/basic.target.wants 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 diff --git a/systemd/system/mandriva-boot-links.service b/systemd/system/mandriva-boot-links.service deleted file mode 100644 index ced82ef0..00000000 --- a/systemd/system/mandriva-boot-links.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Setup links in /boot for running kernel -DefaultDependencies=no -Requires=local-fs.target -Conflicts=shutdown.target -After=local-fs.target -Before=shutdown.target - -[Service] -ExecStart=-/lib/systemd/mandriva-boot-links -Type=oneshot -RemainAfterExit=yes |