This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Boot the system in rescue mode | |
Mount the system haradisk | |
root@rescue:/mnt# sudo cat /proc/mdstat | |
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty] | |
md126 : active raid1 sda2[0] sdd2[3] sdc2[2] sdb2[1] | |
20955136 blocks super 1.2 [4/4] [UUUU] | |
md127 : active raid1 sdc4[0] sdb4[3] sda4[2] sdd4[1] | |
1931359232 blocks super 1.2 [4/4] [UUUU] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash --debugger | |
set -e | |
BRANCH="master" | |
if grep -q BCM2708 /proc/cpuinfo; then | |
echo "RPI BUILD!" | |
RPI="1" | |
fi | |
[ -n "$1" ] && BRANCH=$1 |