initial commit
This commit is contained in:
19
tests/index.js
Normal file
19
tests/index.js
Normal file
@ -0,0 +1,19 @@
|
||||
var iwconfig = require('wireless-tools/iwconfig');
|
||||
|
||||
iwconfig.status(function (err, status) {
|
||||
console.log('--- Iwconfig ---')
|
||||
if (err) console.log("err:", err);
|
||||
console.log("IWconfig status:", status);
|
||||
});
|
||||
|
||||
|
||||
|
||||
var ifconfig = require('wireless-tools/ifconfig');
|
||||
|
||||
ifconfig.status(function (err, status) {
|
||||
console.log('--- Ifconfig ---')
|
||||
if (err) {
|
||||
console.log('err:', err);
|
||||
}
|
||||
console.log('Ifconfig Status:', status);
|
||||
});
|
||||
Reference in New Issue
Block a user