First boot handling (not activated yet)
This commit is contained in:
parent
5bc450dadf
commit
aac1d41217
2 changed files with 7 additions and 0 deletions
1
contrib/firstboot.sh
Executable file
1
contrib/firstboot.sh
Executable file
|
@ -0,0 +1 @@
|
|||
#!/bin/bash
|
6
contrib/rc_local.tpl
Executable file
6
contrib/rc_local.tpl
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
bootflag="/.manufactured"
|
||||
if [ ! -f ${bootflag} ]; then
|
||||
exec /opt/coins-demo/contrib/firstboot.sh
|
||||
touch ${bootflag}
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue