mobile: Improved exit of mobile process, reset phone
commit25c5e8221d94a7a5885d3bcd38d35da86bf17313
authorAndreas Eversberg <jolly@eversberg.eu>
Mon, 7 Jan 2013 09:39:59 +0000 (7 10:39 +0100)
committerAndreas Eversberg <jolly@eversberg.eu>
Mon, 7 Jan 2013 09:39:59 +0000 (7 10:39 +0100)
tree9066ba3693795a5815f3504eb2c7c7ed9f3cb9a6
parentee7fbbda22aedcdd8b6e3a5828fbdafd84571d72
mobile: Improved exit of mobile process, reset phone

If mobile phone has started, it is reset after shutdown. This
ensures that the phone is not transmitting anymore, especially
while shutting down in dedicated mode.

Using CTRL+c:
The first signal causes initiating of shutdown with detach
procedure. The second signal causes initiating of shutdown
without detach procedure. The third signal will exit process
immidiately. (in case it hangs)

Using CTRL+z:
The first signal causes initiating of shutdown without detach
procedure. A subsequent CTRL+c would exit process immidiately.
src/host/layer23/src/mobile/app_mobile.c
src/host/layer23/src/mobile/main.c
src/host/layer23/src/mobile/vty_interface.c