Update
This commit is contained in:
parent
1c54a94e8e
commit
3bcde4c953
3 changed files with 53 additions and 5 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
set -e
|
||||
|
||||
if [ ! -f /etc/init.d/S58factoryreset ]; then
|
||||
cp /usr/data/helper-script/files/services/S58factoryreset /etc/init.d/S58factoryreset
|
||||
chmod 755 /etc/init.d/S58factoryreset
|
||||
fi
|
||||
|
||||
get_model=$( /usr/bin/get_sn_mac.sh model 2>&1 )
|
||||
if echo "$get_model" | grep -iq "K1"; then
|
||||
model="K1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue