merge /lib/functions/boot.sh and /lib/functions.sh