Skip to content

Commit d6cd1f6

Browse files
author
Nick Jonas
committed
sudo scripts
1 parent 20ca513 commit d6cd1f6

File tree

6 files changed

+14
-0
lines changed

6 files changed

+14
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ coder-base/device.json
66

77
.DS_Store
88
Thumbs.db
9+
10+
coder-base/apps/
11+
coder-base/static/apps/
12+
coder-base/views/apps/

coder-base/sudo_scripts/reboot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
/sbin/shutdown -r now

coder-base/sudo_scripts/setpipass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
/usr/bin/passwd pi
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
/sbin/wpa_cli ap_scan 2

coder-base/sudo_scripts/wpa_cli_scan

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
/sbin/wpa_cli scan
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
/sbin/wpa_cli scan_results

0 commit comments

Comments
 (0)