diff options
author | Colin Guthrie <colin@mageia.org> | 2014-09-11 14:28:46 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-09-11 14:35:28 +0100 |
commit | 1cf885487c6d29944d8d8a6dd627dce45d865313 (patch) | |
tree | 137336ed615f5febb2419fd2dbe4ce7a2055ca7d /mandriva | |
parent | 2469e4e95515772d162806ed3f53a64c042eeb68 (diff) | |
download | initscripts-1cf885487c6d29944d8d8a6dd627dce45d865313.tar initscripts-1cf885487c6d29944d8d8a6dd627dce45d865313.tar.gz initscripts-1cf885487c6d29944d8d8a6dd627dce45d865313.tar.bz2 initscripts-1cf885487c6d29944d8d8a6dd627dce45d865313.tar.xz initscripts-1cf885487c6d29944d8d8a6dd627dce45d865313.zip |
Remove last vestiges of speedboot.
This has been obsolete for a while, so this is just housekeeping.
Diffstat (limited to 'mandriva')
-rwxr-xr-x | mandriva/90speedboot.xsetup | 22 | ||||
-rw-r--r-- | mandriva/Makefile | 3 | ||||
-rw-r--r-- | mandriva/speedboot | 4 |
3 files changed, 0 insertions, 29 deletions
diff --git a/mandriva/90speedboot.xsetup b/mandriva/90speedboot.xsetup deleted file mode 100755 index cb1aed0c..00000000 --- a/mandriva/90speedboot.xsetup +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# (c) 2005-2009 Mandriva SA -# to be sourced - -uname_r=`uname -r` -FILE=/var/lib/speedboot/status -if [ -f /dev/.in_sysinit ]; then - REASON="OK" - SPEEDBOOT=yes -else - REASON="STANDARD BOOT" -fi - -grep -q $uname_r $FILE 2>/dev/null -RETVAL=$? -if [ $RETVAL -eq 0 ]; then - if [ "x$SPEEDBOOT" = "xyes" ]; then - sed -i -e "s/$uname_r .*/$uname_r $REASON/" $FILE - fi -else - echo $uname_r $REASON>> $FILE -fi diff --git a/mandriva/Makefile b/mandriva/Makefile index d0fe2a57..d2a295fe 100644 --- a/mandriva/Makefile +++ b/mandriva/Makefile @@ -42,13 +42,10 @@ install: all check mkdir -p $(ROOT)/etc/sysconfig/network-scripts/hostname.d mkdir -p $(ROOT)/etc/sysconfig/network-scripts/wireless.d mkdir -p $(ROOT)/etc/X11/xsetup.d - mkdir -p $(ROOT)/var/lib/speedboot install -m755 if{up,down}-hso $(ROOT)/etc/sysconfig/network-scripts/ install -m755 rc.modules $(ROOT)/etc/ install -m644 modules $(ROOT)/etc/ install -m755 lookupdm $(ROOT)/etc/X11/ - install -m755 90speedboot.xsetup $(ROOT)/etc/X11/xsetup.d/ - install -m644 speedboot $(ROOT)/etc/sysconfig/speedboot for profile in {inputrc,tmpdir}.{c,}sh; do \ install -m644 $$profile $(ROOT)/etc/profile.d/$(PROFILE_LEVEL)$$profile; \ done diff --git a/mandriva/speedboot b/mandriva/speedboot deleted file mode 100644 index cd904bd6..00000000 --- a/mandriva/speedboot +++ /dev/null @@ -1,4 +0,0 @@ -#possible values : auto / yes / no / probe -#probe should only be used on kernel commandline : speedboot=probe -#to reset speedboot status for current kernel -SPEEDBOOT=auto |