File: 60dmraid

package info (click to toggle)
partman-base 165
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,964 kB
  • sloc: ansic: 2,349; sh: 2,269; makefile: 34
file content (9 lines) | stat: -rwxr-xr-x 167 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#! /bin/sh
set -e

if grep -q " device-mapper$" /proc/misc; then
	if type dmraid >/dev/null 2>&1 &&
	   dmraid -s -c >/dev/null 2>&1; then
		apt-install dmraid
	fi
fi