mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
replace grep with rg and sed with sd
This commit is contained in:
parent
d874cc905f
commit
7b6a5ffebe
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ _auto_swap () {
|
||||||
_auto_mdadm()
|
_auto_mdadm()
|
||||||
{
|
{
|
||||||
if [[ -e ${_DESTDIR}/etc/mdadm.conf ]]; then
|
if [[ -e ${_DESTDIR}/etc/mdadm.conf ]]; then
|
||||||
if rg -q ^md /proc/mdstat 2>"${_NO_LOG}"; then
|
if rg -q '^md' /proc/mdstat 2>"${_NO_LOG}"; then
|
||||||
_progress "34" "Enable mdadm settings on installed system..."
|
_progress "34" "Enable mdadm settings on installed system..."
|
||||||
mdadm -Ds >> "${_DESTDIR}"/etc/mdadm.conf
|
mdadm -Ds >> "${_DESTDIR}"/etc/mdadm.conf
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue