-
Notifications
You must be signed in to change notification settings - Fork 0
/
uninstall.sh
executable file
·33 lines (25 loc) · 919 Bytes
/
uninstall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
#----------------------------------------------------------------------------------------
# brcm-BCM4350-ctl
# Version: 0.4.2
#
# WebSite:
# https://lab.mfwlab.com/lab/brcm-BCM4350-ctl/
#
# Copyright © 2020 - Pablo Meniño <pablo.menino@mfwlab.com>
#----------------------------------------------------------------------------------------
#----------------------------------------------------------------------------------------
# Uninstall brcm-BCM4350-ctl
if [ "$EUID" -ne 0 ]; then
echo "This script must be run as root!!!"
exit 1
fi
systemctl stop broadcomctl
systemctl disable broadcomctl
rm /usr/local/bin/broadcomctl.sh
rm /etc/systemd/system/broadcomctl.service
systemctl daemon-reload
#----------------------------------------------------------------------------------------
# Exit
exit 0
#----------------------------------------------------------------------------------------