--- trunk/mage/usr/lib/mage/etc-update 2014/03/27 08:08:33 2635 +++ trunk/mage/usr/lib/mage/etc-update 2014/03/27 08:11:16 2636 @@ -313,7 +313,11 @@ read my_input case ${my_input} in 1) echo "Replacing ${ofile} with ${mfile}" - chmod --reference=${ofile} ${mfile} + # busybox does not support --reference + if ! chmod --reference=${ofile} ${mfile} > /dev/null 2&>1 + then + chmod $(stat -c %a ${ofile}) ${mfile} + fi mv ${mv_opts} ${mfile} ${ofile} rm ${rm_opts} ${file} return 255