First boot handling (not activated yet)

This commit is contained in:
D4rk4 2020-07-31 12:11:20 +02:00
parent 5bc450dadf
commit aac1d41217
2 changed files with 7 additions and 0 deletions

1
contrib/firstboot.sh Executable file
View file

@ -0,0 +1 @@
#!/bin/bash

6
contrib/rc_local.tpl Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
bootflag="/.manufactured"
if [ ! -f ${bootflag} ]; then
exec /opt/coins-demo/contrib/firstboot.sh
touch ${bootflag}
fi