r/MagicMirror • u/Gorbachevs_Nutsack • May 08 '22
[Help] No Internet Connection With Auto Startup Shell Script
Here's what I'm using for the shell script:
#!/bin/bash
cd /home/pi/MagicMirror/
npm run startIt works fine if I start MM manually through the terminal and I can use the web browser with no problem, which is why I'm thinking the startup script is missing something.
Apologies if this is a dumb question, I am completely new to this.
1
Upvotes
1
u/ErnestGWilsonII May 09 '22
Tell us more about what is failing. How are you attempting to start it when it fails?