Custom initialization?
Dear Community:
I am not making any progress. I need to add a crontab entry at bootup.
Postings I read said to add a script to ~pi/.firewalla/config/post_main.d
but I find that that script ending in .sh and executable does not run at bootup.
Is there some sysctl I need to toggle to make this work? I am not running beta (should I?)
Thanks/Bernie
-
are you on alpha? you need to be on early access and also these scripts only work on the gold (for now, and will be available to other platforms when they reason 1.971). https://help.firewalla.com/hc/en-us/community/posts/360046872134-Early-Access-Onboarding
-
Ok, I connected the dots reread our documentation and am now running Early Access.
Here is what I have in ~.firewall/config/post_main.d
pi@firewalla:~/.firewalla/config/post_main.d (Laconia) $ ls -la
total 16
drwxrwxr-x 2 pi pi 4096 Oct 5 20:24 .
drwxr-xr-x 6 pi pi 4096 Oct 5 19:54 ..
-rwxr-xr-x 1 pi pi 186 Oct 5 19:40 add.sh
-rwxr-xr-x 1 pi pi 47 Oct 5 19:50 hello.sh
pi@firewalla:~/.firewalla/config/post_main.d (Laconia) $
pi@firewalla:~/.firewalla/config/post_main.d (Laconia) $ cat add.sh
sleep 300
(crontab -u pi -l ; echo "* * * * * /home/pi/NASHUA_UP.sh" | sort -) | uniq - | crontab -u pi -
pi@firewalla:~/.firewalla/config/post_main.d (Laconia) $ cat hello.sh
echo "BERNIE WAS HERE" > /home/pi/LOG_WAS_HERE
Neither add.sh nor hello.sh are being called, yet I can run them by hand.
What am I doing wrong?
-
I think I found it. My firewalla app says I am on 1.97 but
Says I need to run 1.971
Let me guess, this will happen automatically now that I am on Early Access (switched about 20 minutes ago)
Please sign in to leave a comment.
Comments
9 comments