sys-apps/systemd: add functions.sh, thanks to holliday