add /etc/init.d/functions