This repository has been archived by the owner on Mar 10, 2023. It is now read-only.
forked from sabhiram/raspberry-wifi-conf
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
34 lines (34 loc) · 1.65 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "raspberry-wifi-conf",
"version": "0.0.2",
"description": "Node RPI Wifi Configuration Application",
"main": "server.js",
"scripts": {
"test": "npm test",
"provision": "apt-get update -y && apt-get install dnsmasq hostapd iw -y && echo '##########\n COPY DEFAULT CONFIG FILE\n ##########' && cp -f /etc/wpa_supplicant/wpa_supplicant.conf ./assets/etc/default/wpa_supplicant.conf && cp -f /etc/network/interfaces ./assets/etc/default/interfaces && cp -f /etc/dhcpcd.conf ./assets/etc/default/dhcpcd.conf && cp -f /etc/dnsmasq.conf ./assets/etc/default/dnsmasq.conf && cp -f /etc/default/hostapd ./assets/etc/default/hostapd",
"reset": "cp -f ./assets/etc/default/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf && cp -f ./assets/etc/default/interfaces /etc/network/interfaces && cp -f ./assets/etc/default/dhcpcd.conf /etc/dhcpcd.conf && cp -f ./assets/etc/default/dnsmasq.conf /etc/dnsmasq.conf && cp -f ./assets/etc/default/hostapd /etc/default/hostapd && rm /etc/hostapd/hostapd.conf",
"bootstrap": "wget http://treebeard.home.net:1234/bootstrap/pifi-conf -O bootstrap.sh && chmod u+x bootstrap.sh && ./bootstrap.sh"
},
"repository": {
"type": "git",
"url": "git://github.com/sabhiram/raspberry-wifi-conf.git"
},
"keywords": [
"RaspberryPi",
"Node",
"Wifi"
],
"author": "Shaba Abhiram",
"license": "MIT",
"bugs": {
"url": "https://github.com/sabhiram/raspberry-wifi-conf/issues"
},
"homepage": "https://github.com/sabhiram/raspberry-wifi-conf",
"dependencies": {
"body-parser": "^1.11.0",
"underscore": "~1.7.0",
"async": "~0.9.0",
"ejs": "~1.0.0",
"express": "~4.10.2"
}
}