64e90a02d2
Upstream has switched from ofono to modemmanager since Plasma 5.23 and Plasma Mobile Gear 21.12. Since the latter has just been released it's now time to switch our images too. The modemmanager service will be enabled to start on default and for existing installations the .post-upgrade script will disable and stop the existing ofono service and enable and start modemmanager instead.
23 lines
578 B
Bash
23 lines
578 B
Bash
#!/bin/sh
|
|
|
|
rc-update add tinydm default
|
|
rc-update add urfkill default
|
|
rc-update add iio-sensor-proxy default
|
|
rc-update add bluetooth default
|
|
rc-update add hfd-service default
|
|
rc-update add networkmanager default
|
|
|
|
rc-update add modemmanager default
|
|
|
|
# Migrate from the old ofono setup
|
|
if rc-update del ofono default; then
|
|
rc-update del ofono-auto-enable default
|
|
rc-service stop ofono
|
|
rc-service stop ofono-auto-enable
|
|
|
|
rc-service start modemmanager
|
|
fi
|
|
|
|
tinydm-set-session -s /usr/share/wayland-sessions/plasma-mobile.desktop
|
|
|
|
glib-compile-schemas /usr/share/glib-2.0/schemas
|