Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/inittab file missing #10

Open
hermantherock opened this issue Oct 27, 2017 · 1 comment
Open

/etc/inittab file missing #10

hermantherock opened this issue Oct 27, 2017 · 1 comment

Comments

@hermantherock
Copy link

hermantherock commented Oct 27, 2017

Following the instructions from Nuts and Volts : I entered sudo nano /etc/inittab and the editor did open up, but it was a blank file with [ New File ] showing at the bottom of editor.

I looked in the /etc folder and did not see a inittab file.

I was able to skip that step and move on to edit the profile file with sudo nano /etc/profile without issue, adding the command from the article made the photobooth program start up automatically on power up.

Using Raspbian Stretch, currently . I also recall not finding the file on the Jessie version either, and I never added the command to the profile file at that time so I had to start the photobooth with the terminal every time.

@jrleeman
Copy link
Owner

Ah - looks likeinittab was part of sysvinit which was replaced with systemd in Jessie and above. Your solution appears to be the best way to do this on the newer OS's. Should be noted in the README or similar now.

Solution reference: https://www.raspberrypi-spy.co.uk/2015/02/how-to-autorun-a-python-script-on-raspberry-pi-boot/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants