Skip to content

Commit

Permalink
feat: remove more unwanted services
Browse files Browse the repository at this point in the history
  • Loading branch information
duhow committed Dec 29, 2024
1 parent 380c197 commit 35bd8f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/20_disable_services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ for SERVICE in \
nano_httpd pns_ubus_helper quickplayer voip mdplay mibt_mesh_proxy \
mico_helper mico_voip_service mico_voip_ubus_helper mico_voip_ubus_service \
mico_aivs_lab didiagent aw_upgrade_autorun miot_agent miio_mpkg idmruntime \
statpoints_daemon alarm notify dlnainit touchpad sound_effect linein; do
statpoints_daemon alarm notify dlnainit touchpad sound_effect linein \
volctl cmcc_andlink cmcc_dm telecom_plugin telecom_zhejiang; do

rm -vf $ROOTFS/etc/rc.d/S??${SERVICE}
done

echo "[*] Deleting unused config cmcc"
rm -vf $ROOTFS/etc/config/cmcc
rm -rvf $ROOTFS/etc/tts
rm -vf $ROOTFS/etc/miaudio.conf

echo "[*] Removing cronjobs"
shasum $ROOTFS/etc/crontabs/*
Expand Down
1 change: 1 addition & 0 deletions scripts/24_remove_property_bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ for FILE in collect_log.sh network_probe.sh tcpdump \
rm -vf $ROOTFS/usr/sbin/$FILE
done

# NOTE: LX01 new ver. uses imiflash for binfo_create_lx01
for FILE in imiflash; do
rm -vf $ROOTFS/sbin/$FILE
done
Expand Down

0 comments on commit 35bd8f3

Please sign in to comment.