forked from community/device-mgt-plugins
Merge pull request #117 from GPrathap/IoTS-1.0.0-M1
removed mqtt dependencies
commit
d4b24dc0a9
Binary file not shown.
@ -1,17 +0,0 @@
|
|||||||
Install Rpi.GPIO
|
|
||||||
Install sh
|
|
||||||
sudo easy_install pip
|
|
||||||
sudo pip install sh
|
|
||||||
|
|
||||||
|
|
||||||
wget http://67.192.60.197/mikem/bcm2835/bcm2835-1.8.tar.gz
|
|
||||||
tar xvfz bcm2835-1.8.tar.gz;
|
|
||||||
cd bcm2835-1.8;
|
|
||||||
./configure;
|
|
||||||
make;
|
|
||||||
sudo make install
|
|
||||||
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install python-dev
|
|
||||||
|
|
||||||
nohup command >/dev/null 2>&1 &
|
|
@ -1,24 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
"""
|
|
||||||
/**
|
|
||||||
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
|
||||||
*
|
|
||||||
* WSO2 Inc. licenses this file to you under the Apache License,
|
|
||||||
* Version 2.0 (the "License"); you may not use this file except
|
|
||||||
* in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
**/
|
|
||||||
"""
|
|
||||||
|
|
||||||
piMac=`/sbin/ifconfig | grep 'wlan0' | tr -s ' ' | cut -d ' ' -f5 | tr -d ':'`
|
|
||||||
echo The device ID is $piMac
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue