1process.on('SIGINT', function() {
2 console.log("\nGracefully shutting down from SIGINT (Ctrl+C)");
3
4 console.log("Disabling Adapter...");
5 wireless.disable(function() {
6
7 console.log("Stopping Wireless App...");
8 wireless.stop(function() {
9
10 console.log("Exiting...");
11 process.exit();
12 });
13 });
14});
15