diff options
author | 2001-07-31 01:15:04 +0000 | |
---|---|---|
committer | 2001-07-31 01:15:04 +0000 | |
commit | a673e52ec5de43705f13e22fa65060b213736618 (patch) | |
tree | 72fc33ddd0e4dc4f35c399d33ae49be7d88ca3e4 | |
parent | test freeciv ebuild... please ignore (diff) | |
download | gentoo-2-a673e52ec5de43705f13e22fa65060b213736618.tar.gz gentoo-2-a673e52ec5de43705f13e22fa65060b213736618.tar.bz2 gentoo-2-a673e52ec5de43705f13e22fa65060b213736618.zip |
Added this to rc.d/init.d/mountall
. /etc/rc.d/config/basic
if [ ${LVM} ]; then
ebegin "Initializing LVM"
vgscan
vgchange -ay
eend $? "Problem Initializing LVM"
fi
and this to rc.d/config/basic
#LVM="y" # Set this if you would like to use LVM, will only work for
# simple setups (i.e. not as / and not modular)
This will make sure LVM gets started at boot time
-rw-r--r-- | sys-apps/baselayout/files/rc.d/config/basic | 3 | ||||
-rwxr-xr-x | sys-apps/baselayout/files/rc.d/init.d/mountall | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/sys-apps/baselayout/files/rc.d/config/basic b/sys-apps/baselayout/files/rc.d/config/basic index 7397bada91aa..f8726c0cde49 100644 --- a/sys-apps/baselayout/files/rc.d/config/basic +++ b/sys-apps/baselayout/files/rc.d/config/basic @@ -23,6 +23,9 @@ YP_DOMAIN="" # Enter your NIS domainname here MOUSE="ms" # Set to the mouse type as used by gpm (auto, ps2, ms, etc.) +#LVM="y" # Set this to Y if you would like to start LVM. Will work + # for simple setups (i.e not as /) + DISPLAYMANAGER="" # Enter your display manager here (xdm,kdm,gdm) FTPUSER="ftp" # User to run oftpd as FTPROOT="/home/ftp" # Set this to your ftproot for oftpd diff --git a/sys-apps/baselayout/files/rc.d/init.d/mountall b/sys-apps/baselayout/files/rc.d/init.d/mountall index 0c51b767ba43..75a3c9c1f648 100755 --- a/sys-apps/baselayout/files/rc.d/init.d/mountall +++ b/sys-apps/baselayout/files/rc.d/init.d/mountall @@ -1,7 +1,13 @@ #!/bin/sh #RCUPDATE:boot:15:This line is required for script management . /etc/rc.d/config/functions - +. /etc/rc.d/config/basic +if [ ${LVM} ]; then + ebegin "Initializing LVM" + vgscan + vgchange -ay + eend $? "Problem Initializing LVM" +fi # Mount local filesystems in /etc/fstab. ebegin "Mounting local filesystems" mount -avt nonfs,noproc 1>&2 |