This commit is contained in:
Cyril 2024-05-19 17:52:17 +02:00
parent 1c54a94e8e
commit 3bcde4c953
3 changed files with 53 additions and 5 deletions

View file

@ -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"