rc.d/zfsbe: Simplify
So $(foo) is a shorter version of "`foo`". Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D39413
This commit is contained in:
parent
43f7eeff0d
commit
0c4183f02e
@ -57,7 +57,7 @@ activate_bootonce()
|
||||
_dev=$1
|
||||
_be=${_dev##*/}
|
||||
|
||||
_bootonce="`kenv -q zfs-bootonce`"
|
||||
_bootonce=$(kenv -q zfs-bootonce)
|
||||
if [ "$_bootonce" = "zfs:${_dev}:" ] ; then
|
||||
bectl activate $_be
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user