8 lines
339 B
Bash
Executable file
8 lines
339 B
Bash
Executable file
#!/bin/bash
|
|
echo "Installing wifi reset service to /opt/wifi-reset."
|
|
mkdir -p /opt/wifi-reset
|
|
cp -f wifi-reset.sh /opt/wifi-reset/wifi-reset.sh
|
|
echo "Installing systemd service to run at boot."
|
|
cp -f wifi-reset.service /lib/systemd/system/wifi-reset.service
|
|
echo "Enabling systemd service."
|
|
systemctl enable wifi-reset.service > /dev/null
|