aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Powalowski <tpowa@archlinux.org>2006-06-07 17:12:17 +0000
committerTobias Powalowski <tpowa@archlinux.org>2006-06-07 17:12:17 +0000
commit5d708a122229e99d1f09f9cfd8297370e1778732 (patch)
tree1447c52cbfb2960270c66b7f031fb7ff1617648c
parentb4306a3ede324f6bdbfa5c7b80d0cff15f22c1be (diff)
downloadinitscripts-5d708a122229e99d1f09f9cfd8297370e1778732.tar.xz
'upgpkg: removed the rest of 2.4 kernel'
-rwxr-xr-xrc.single5
-rwxr-xr-xrc.sysinit7
2 files changed, 2 insertions, 10 deletions
diff --git a/rc.single b/rc.single
index 6931798..00b7da6 100755
--- a/rc.single
+++ b/rc.single
@@ -34,10 +34,7 @@ if [ "$PREVLEVEL" != "N" ]; then
/bin/sleep 1
stat_done
- if [ -e /dev/.devfsd -a -x /sbin/devfsd ]; then
- # Looks like devfs is running, use it
- status "Starting DevFS Daemon" /sbin/devfsd /dev
- elif [ -x /etc/start_udev -a -d /sys/block ]; then
+ if [ -x /etc/start_udev -a -d /sys/block ]; then
# We have a start_udev script and /sys appears to be mounted, use UDev
status "Starting UDev Daemon" /etc/start_udev
if [ "`pidof -o %PPID /sbin/udevd`" ]; then
diff --git a/rc.sysinit b/rc.sysinit
index 3877cae..e5526f3 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -111,12 +111,7 @@ if [ -f /etc/crypttab ]; then
fi
if [ "$USELVM" = "yes" -o "$USELVM" = "YES" ]; then
- if [ -f /etc/lvmtab -a -x /sbin/vgchange ]; then
- # Kernel 2.4.x, LVM1 groups
- stat_busy "Activating LVM1 groups"
- /sbin/vgchange -a y
- stat_done
- elif [ -x /sbin/lvm -a -d /sys/block ]; then
+ if [ -x /sbin/lvm -a -d /sys/block ]; then
# Kernel 2.6.x, LVM2 groups
stat_busy "Activating LVM2 groups"
/sbin/lvm vgscan --ignorelockingfailure --mknodes