forked from Lainports/opnsense-ports
20 lines
587 B
Text
20 lines
587 B
Text
--- usr/lib/byobu/raid.orig 2016-04-07 22:05:52 UTC
|
|
+++ usr/lib/byobu/raid
|
|
@@ -20,7 +20,7 @@
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
__raid_detail() {
|
|
- [ -r /proc/mdstat ] && cat /proc/mdstat || true
|
|
+ [ -r /compat/linux/proc/mdstat ] && cat /compat/linux/proc/mdstat || true
|
|
}
|
|
|
|
__raid() {
|
|
@@ -37,7 +37,7 @@ __raid() {
|
|
msg="$msg,$p"
|
|
;;
|
|
esac
|
|
- done < /proc/mdstat
|
|
+ done < /compat/linux/proc/mdstat
|
|
if [ -n "$msg" ]; then
|
|
color B w r; printf "%s" "$msg"; color --
|
|
elif [ -e "$BYOBU_RUN_DIR/status.$BYOBU_BACKEND/raid" ]; then
|