mirror of
https://github.com/RoganDawes/P4wnP1_aloa.git
synced 2025-03-18 05:41:55 +01:00
Enable monitor interface on Kali by default
This commit is contained in:
parent
8840ee16c8
commit
cd965a90fd
2
Makefile
2
Makefile
@ -71,7 +71,7 @@ installkali:
|
||||
|
||||
cp build/P4wnP1_service /usr/local/bin/
|
||||
cp build/P4wnP1_cli /usr/local/bin/
|
||||
cp dist/P4wnP1.service /etc/systemd/system/P4wnP1.service
|
||||
cp dist/P4wnP1-kali.service /etc/systemd/system/P4wnP1.service
|
||||
# copy over keymaps, scripts and www data
|
||||
mkdir -p /usr/local/P4wnP1
|
||||
cp -R dist/keymaps /usr/local/P4wnP1/
|
||||
|
21
dist/P4wnP1-kali.service
vendored
Normal file
21
dist/P4wnP1-kali.service
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=P4wnP1 Startup Service
|
||||
#After=systemd-modules-load.service
|
||||
After=local-fs.target
|
||||
DefaultDependencies=no
|
||||
Before=sysinit.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
#Type=forking
|
||||
#RemainAfterExit=yes
|
||||
ExecStartPre=/usr/sbin/iw phy phy0 interface add wlan0mon type monitor
|
||||
ExecStart=/usr/local/bin/P4wnP1_service
|
||||
#StandardOutput=journal+console
|
||||
#StandardError=journal+console
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
#WantedBy=sysinit.target
|
Loading…
x
Reference in New Issue
Block a user