Skip to content

Commit e588f87

Browse files
committed
Update uninstallation
1 parent 8a42389 commit e588f87

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/drivers/Makefile.header_from_apt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@ install: rtmouse.ko
1717
cp ../../etc/rtmouse.sh /etc/init.d/
1818
chmod 755 /etc/init.d/rtmouse.sh
1919
cp ../../etc/rtmouse.service /etc/systemd/system/
20+
systemctl daemon-reload
2021
systemctl enable rtmouse.service
2122

2223
uninstall:
2324
rm /etc/udev/rules.d/50-rtmouse.rules
25+
-systemctl stop rtmouse.service
26+
systemctl disable rtmouse.service
27+
rm /etc/init.d/rtmouse.sh
28+
rm /etc/systemd/system/rtmouse.sh
2429

2530
#Reference: http://www.devdrv.co.jp/linux/kernel26-makefile.htm

src/drivers/Makefile.header_from_source

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@ install: rtmouse.ko
1717
cp ../../etc/rtmouse.sh /etc/init.d/
1818
chmod 755 /etc/init.d/rtmouse.sh
1919
cp ../../etc/rtmouse.service /etc/systemd/system/
20+
systemctl daemon-reload
2021
systemctl enable rtmouse.service
2122

2223
uninstall:
2324
rm /etc/udev/rules.d/50-rtmouse.rules
25+
-systemctl stop rtmouse.service
26+
systemctl disable rtmouse.service
27+
rm /etc/init.d/rtmouse.sh
28+
rm /etc/systemd/system/rtmouse.sh
2429

2530
#Reference: http://www.devdrv.co.jp/linux/kernel26-makefile.htm

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy