0

Situation: Whenever I boot up my Raspberry PI, I have to enter a few lines of commands to enable an interface. The commands:

sudo modprobe batman-adv
sudo batctl if add wlan0
sudo ifconfig wlan0 up
sudo ifconfig bat0 up

I would like to run a script that allows these commands to execute automatically when I boot up the Raspberry PI.

1 Answers1

0

Add those commands to /etc/rc.local.

storm
  • 5,013