Comment 0 for bug 1321627

Sometimes the WWAN value in /var/lib/urfkill/saved-states is incoherent with the flight mode status. Note that in this case we have dual SIM (I have not tried yet with just one modem, could happen too).

Start with flight mode=0. soft=false in all sections in saved-states.
/usr/share/urfkill/scripts/flight-mode 1
# restart to write values in saved-state
restart urfkill
/usr/share/urfkill/scripts/flight-mode 0
# restart to write values in saved-state
restart urfkill

The modem is not onlined. soft=true for WWAN in saved-states, whilst the remaining sections have the right value:

# cat /var/lib/urfkill/saved-states
[WLAN]
soft=false

[BLUETOOTH]
soft=false

[UWB]
soft=false

[WIMAX]
soft=false

[WWAN]
soft=true

[GPS]
soft=false

[FM]
soft=false

[NFC]
soft=false

[ALL]
soft=false

syslog attached. urfkilld executed with -d in upstart script.