File: 60dmraid

package info (click to toggle)
partman-base 217
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,040 kB
  • sloc: sh: 2,287; ansic: 2,238; makefile: 35
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