mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 15:48:51 +01:00
19 lines
285 B
Bash
Executable File
19 lines
285 B
Bash
Executable File
#!/bin/sh
|
|
|
|
THIS=$(basename $0)
|
|
|
|
case "$1" in
|
|
start)
|
|
first_boot_ok=$(fw_printenv -n first_boot_ok 2>/dev/null)
|
|
if ! [ ! "${first_boot_ok}" -ne "${first_boot_ok}" ] 2> /dev/null; then
|
|
first_boot
|
|
fi
|
|
;;
|
|
stop)
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start|stop}" >&2
|
|
exit 1
|
|
;;
|
|
esac
|