33 lines
867 B
INI
33 lines
867 B
INI
# Contents of /etc/systemd/system/wipri.service
|
|
# This is an example file used for adding 2nd service for wipri for ethernet
|
|
#
|
|
# Instructions to use this file:
|
|
#
|
|
# Run install.sh to automatically install wipri either as command, or command + boot (for wifi dev as example)
|
|
#
|
|
# STOPPING OR DISABLING WIPRI AS A SERVICE (ie: BOOT):
|
|
#
|
|
# STOP WIPRI SERVICE: sudo systemctl stop wipri
|
|
# DISABLE WIPRI SERVICE: sudo systemctl disable wipri
|
|
#
|
|
# Tutorials/Blog: https://buymeacoffee.com/politictech/posts
|
|
#
|
|
|
|
[Unit]
|
|
Description=WiPri Privacy Enhancement
|
|
# Change mac
|
|
Before=boot.mount
|
|
DefaultDependencies=no
|
|
|
|
# Feel free to change wipri commands below to meet your needs/wants
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=wipri -d wlan0 -w -p
|
|
ExecReload=killall -9 wipri;wipri -d wlan0 -w -p
|
|
ExecStop=killall -9 wipri
|
|
Restart=on-failure
|
|
RemainAfterExit=no
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|