Browse Source

"Andreas V. Meier" <avmeier@web.de>:

added MD (RAID) enabling to rc.d/system


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1728 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
5dd81e8147
3 changed files with 13 additions and 1 deletions
  1. +1
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +6
    -1
      package/base/raidtools/raidtools.conf
  3. +6
    -0
      package/base/sysfiles/system.init

+ 1
- 0
Documentation/Developers/CHANGELOG-RENE

@ -6,6 +6,7 @@
fixed bacterium_gui in bacterium package for newer gnu linker fixed bacterium_gui in bacterium package for newer gnu linker
fixed isdn4k-utils (link order) fixed isdn4k-utils (link order)
fixed yp-tools (shared files with net-tools) fixed yp-tools (shared files with net-tools)
- Andreas V. Meier: activate MD devices during bootup
*) 2003-11-09 (2.0.0-rc2 - 2.0.0-rc3) *) 2003-11-09 (2.0.0-rc2 - 2.0.0-rc3)

+ 6
- 1
package/base/raidtools/raidtools.conf

@ -20,4 +20,9 @@
# #
# --- ROCK-COPYRIGHT-NOTE-END --- # --- ROCK-COPYRIGHT-NOTE-END ---
postmake="cp Software-RAID.HOWTO/Software-RAID.HOWTO.* *.sample $docdir/"
raidtools_pm() {
cp Software-RAID.HOWTO/Software-RAID.HOWTO.* *.sample $docdir/
}
hook_add postmake 3 "raidtools_pm"

+ 6
- 0
package/base/sysfiles/system.init

@ -39,6 +39,12 @@ dnl
block_split(`Configuring the /dev filesystem ...') block_split(`Configuring the /dev filesystem ...')
check(`sh /etc/conf/devfs') check(`sh /etc/conf/devfs')
if [ -f /etc/raidtab ]; then
block_split(`Starting softraid systems ...')
check(`/sbin/raidstart --all')
fi
block_split(`Activating swap devices.') block_split(`Activating swap devices.')
check(`swapon -a') check(`swapon -a')
dnl dnl

Loading…
Cancel
Save