It is observed that for statically-compiled drbdadm, the working directory is /usr/local, therefore we device a temporary fix for the problem of drbadm no finding /usr/local/etc and /usr/local/var
for i in etc var; do
mv -vf /usr-local/$i /usr-local/$i.bak
ln -svf /$i /usr-local/$i
done
Signed-off-by: alexzhc alex.zheng@daocloud.io
It is observed that for statically-compiled
drbdadm
, the working directory is /usr/local, therefore we device a temporary fix for the problem ofdrbadm
no finding/usr/local/etc
and/usr/local/var