180 |
local i |
local i |
181 |
local hwtmp |
local hwtmp |
182 |
|
|
183 |
if [ -x $(which mktemp &> /dev/null) ] |
if [ -x $(type -P mktemp) ] |
184 |
then |
then |
185 |
hwtmp="$(mktemp)" |
hwtmp="$(mktemp)" |
186 |
else |
else |
831 |
|
|
832 |
is_uuid_supported() |
is_uuid_supported() |
833 |
{ |
{ |
834 |
if [[ -x $(which busybox.mkinitrd &> /dev/null) ]] |
if [[ -x $(type -P busybox.mkinitrd) ]] |
835 |
then |
then |
836 |
# only detect uuids if supported |
# only detect uuids if supported |
837 |
if [[ ! -z $(busybox.mkinitrd | grep blkid) ]] |
if [[ ! -z $(busybox.mkinitrd | grep blkid) ]] |