11 lines
198 B
Plaintext
11 lines
198 B
Plaintext
|
#!/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
|