rc: removed btrfs-scan from rc. handle it with a udev rule instead
This commit is contained in:
parent
e519eaa87d
commit
bf4ca564ad
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
name=rc
|
name=rc
|
||||||
version=2.28
|
version=2.28
|
||||||
release=1
|
release=2
|
||||||
source=(inittab rc rc.modules rc.single rc.multi rc.local rc.fix rc.shutdown rc.conf)
|
source=(inittab rc rc.modules rc.single rc.multi rc.local rc.fix rc.shutdown rc.conf)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
5
rc/rc
5
rc/rc
@ -19,11 +19,6 @@ if [ -x /sbin/lvm ]; then
|
|||||||
/sbin/vgchange --ignorelockingfailure -a y
|
/sbin/vgchange --ignorelockingfailure -a y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Scan for btrfs volumes to simplify fstab entries
|
|
||||||
if [ -r /sys/fs/btrfs ]; then
|
|
||||||
/sbin/btrfs dev scan
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Mount root read-only
|
# Mount root read-only
|
||||||
/bin/mount -o remount,ro /
|
/bin/mount -o remount,ro /
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user