~ubuntu-core-dev/partman-base/lucid-proposed

« back to all changes in this revision

Viewing changes to post-base-installer.d/60dmraid

  • Committer: Colin Watson
  • Date: 2010-02-26 10:23:29 UTC
  • mfrom: (5.1.919)
  • Revision ID: cjwatson@canonical.com-20100226102329-s74v25z8p7unwvh2
merge from Debian 138

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
set -e
 
3
 
 
4
if grep -q " device-mapper$" /proc/misc; then
 
5
        if type dmraid >/dev/null 2>&1 &&
 
6
           dmraid -s -c >/dev/null 2>&1; then
 
7
                apt-install dmraid
 
8
        fi
 
9
fi