mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (pwnagotchi)" project-jdk-type="Python SDK" />
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (pwnagotchi)" project-jdk-type="Python SDK" />
|
||||||
</project>
|
</project>
|
2
.idea/pwnagotchi.iml
generated
2
.idea/pwnagotchi.iml
generated
@ -4,7 +4,7 @@
|
|||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="jdk" jdkName="Python 3.10 (pwnagotchi)" jdkType="Python SDK" />
|
<orderEntry type="jdk" jdkName="Python 3.11 (pwnagotchi)" jdkType="Python SDK" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PyDocumentationSettings">
|
<component name="PyDocumentationSettings">
|
||||||
|
@ -7,7 +7,7 @@ Wants=network.target
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/bettercap-launcher
|
ExecStart=/usr/bin/bettercap-launcher
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=30
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -79,12 +79,12 @@ is_auto_mode() {
|
|||||||
|
|
||||||
# if usb0 is up, we're in MANU
|
# if usb0 is up, we're in MANU
|
||||||
if is_interface_up usb0; then
|
if is_interface_up usb0; then
|
||||||
return 0
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if eth0 is up (for other boards), we're in MANU
|
# if eth0 is up (for other boards), we're in MANU
|
||||||
if is_interface_up eth0; then
|
if is_interface_up eth0; then
|
||||||
return 0
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# no override, but none of the interfaces is up -> AUTO
|
# no override, but none of the interfaces is up -> AUTO
|
||||||
|
@ -58,7 +58,6 @@
|
|||||||
- libpcap0.8
|
- libpcap0.8
|
||||||
- libpcap0.8-dev
|
- libpcap0.8-dev
|
||||||
remove:
|
remove:
|
||||||
- dhcpcd5
|
|
||||||
- nfs-common
|
- nfs-common
|
||||||
- raspberrypi-net-mods
|
- raspberrypi-net-mods
|
||||||
- triggerhappy
|
- triggerhappy
|
||||||
@ -470,11 +469,27 @@
|
|||||||
# ui.display.type = "waveshare_2"
|
# ui.display.type = "waveshare_2"
|
||||||
when: not user_config.stat.exists
|
when: not user_config.stat.exists
|
||||||
|
|
||||||
|
- name: Delete motd
|
||||||
|
file:
|
||||||
|
state: absent
|
||||||
|
path: /etc/motd
|
||||||
|
|
||||||
|
- name: Delete motd 10-uname
|
||||||
|
file:
|
||||||
|
state: absent
|
||||||
|
path: /etc/update-motd.d/10-uname
|
||||||
|
|
||||||
- name: enable ssh on boot
|
- name: enable ssh on boot
|
||||||
file:
|
file:
|
||||||
path: /boot/ssh
|
path: /boot/ssh
|
||||||
state: touch
|
state: touch
|
||||||
|
|
||||||
|
- name: disable wlan0 in dhcpcd.conf
|
||||||
|
lineinfile:
|
||||||
|
dest: /etc/dhcpcd.conf
|
||||||
|
insertafter: EOF
|
||||||
|
line: "denyinterfaces wlan0"
|
||||||
|
|
||||||
- name: adjust /boot/config.txt
|
- name: adjust /boot/config.txt
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /boot/config.txt
|
dest: /boot/config.txt
|
||||||
|
@ -1 +1 @@
|
|||||||
__version__ = '2.4.5'
|
__version__ = '2.4.6'
|
||||||
|
Reference in New Issue
Block a user