Skip to content
Snippets Groups Projects
Commit 7a02beae authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Moviendo un /

parent 6e5ad4ce
No related branches found
No related tags found
No related merge requests found
......@@ -199,10 +199,11 @@ function userconfig
function cronit
{
if [ $( ( crontab -u bfa -l 2>/dev/null || true ) | grep -E "${BFAHOME#~bfa}bin/cron.sh" | wc -l ) -eq 0 ]
${BFAHOME#~bfa/}/bin/cron.sh
if [ $( ( crontab -u bfa -l 2>/dev/null || true ) | grep -E "${BFAHOME#~bfa/}/bin/cron.sh" | wc -l ) -eq 0 ]
then
info "Install crontab to start automatically upon reboot"
(( crontab -u bfa -l 2>/dev/null || true ) ; echo "@reboot ${BFAHOME#~bfa}bin/cron.sh" ) | crontab -u bfa -
(( crontab -u bfa -l 2>/dev/null || true ) ; echo "@reboot ${BFAHOME#~bfa/}/bin/cron.sh" ) | crontab -u bfa -
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment