mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
11 lines
198 B
Bash
Executable File
11 lines
198 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "$1" in
|
|
start)
|
|
if [ -e /config/boot.id ]; then
|
|
echo -n `(cat /config/boot.id; echo " 1 + p") | dc` > /config/boot.id
|
|
else
|
|
echo -n "0" > /config/boot.id
|
|
fi
|
|
esac
|