Linked Questions

0 votes
0 answers
42 views

Can I run a shell script located on /boot just by modifying other files on /boot? [duplicate]

I've created a shell script that is setting up things for me and my colleagues. This script is the first thing to be run on a clean Rasbian installation. Problems: at this time, the keyboard is not ...
Thomas Weller's user avatar
0 votes
0 answers
39 views

Boot Partition "Run Once" Headless Script [duplicate]

To setup SSH and Wi-Fi connectivity before even booting up a Pi for the first time, one can put files into the boot partition on the SD card. This has me curious. Suppose I have a particular setup I ...
Tim Morris's user avatar
1 vote
2 answers
1k views

assigning static ip on intial boot to raspbian

I know we can have raspbian connect to local wifi if we copy wpa_supplicant file to location were boot.txt is in sd card, and even enable ssh by copying ssh file to the same location, but how can we ...
Ciasto piekarz's user avatar
-1 votes
2 answers
512 views

Executing sh script on (first) startup using systemd.run causes black screen/shutdown

I'd like to execute a shell script for some pre-configuration tasks on the first boot. I found systemd.run like this in the cmdline.txt on the boot partition: console=serial0,115200 console=tty1 root=...
Lion's user avatar
  • 167
2 votes
1 answer
83 views

Raspberry Pi autonomous headless setup

everytime I setup a new sd card for a pi, I first have to ssh to the running pi and then start to install some software via shell commands. Isn't there a way to drop a shell setup file to the fat32 ...
rdmueller's user avatar
  • 267
1 vote
1 answer
116 views

Boot up process of keybow raspi zero and transfer to keybow executable. How does it happen?

I am investigating the pimoroni keybow little keyboard. The system is powered by a raspberry pi zero, and pimoroni provides an sdcard system, available on github at https://github.com/pimoroni/keybow-...
Stefano Borini's user avatar
0 votes
0 answers
98 views

How to make a program run on boot in the RPi kernel

I'm currently working on a fork on the raspi kernel for streaming cable channels (I have that ready. That's not what I need help with). What I need to know is how to get a program to run on boot (This ...
zurgeg's user avatar
  • 115
2 votes
2 answers
42 views

Is it possible to bulk load code prior to first boot just as ssh can be enabled or wpa_supplicant can be configured?

Knowing that ssh can be enabled with the initial flashing of an SD card (with raspbian) (via touch /boot/ssh) and wireless can be configured (via wpa_supplicant.conf) prior to first boot, is there ...
user3.1415927's user avatar
0 votes
0 answers
54 views

Add startup app in config

I have a raspberry pi zero w and I need to add a python script to startup just by editing the files in boot unit, instead of adding a line to cron using terminal. Thanks for help.
user127471's user avatar
1 vote
0 answers
28 views

How to provide initial data and scripts on Raspberry Zero (without wifi)

Is it somehow possible to seed some initial data and initialization scripts on a completely headless raspberry pi zero (without wifi) from Windows? I was thinking there may be some way to add some ...
red's user avatar
  • 111