meta-raspberrypi/recipes-extra/startup/rpi-first-run-wizard/rpi_startup.sh
David-John Willis c20be94e43 rpi-first-run-wizard: Add basic first run wizard from the OpenPandora.
* Only used in demo images at the moment to just get a user setup.
2012-04-24 14:02:52 +01:00

7 lines
206 B
Bash

#!/bin/sh
OP_CHECKFILE='/etc/rpi/first-boot'
OP_FIRSTRUN='xinit /usr/rpi/scripts/first-run-wizard.sh'
[ -f $OP_CHECKFILE ] && echo -e "\nOP_STARTUP: $OP_CHECKFILE exists, not first boot." || $OP_FIRSTRUN