Skip to content

Commit 6e655a1

Browse files
Justin CooperJustin Cooper
authored andcommitted
update uninstaller for beaglebone
1 parent c4e4d90 commit 6e655a1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scripts/uninstall-angstrom.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,21 @@ if [ "$?" -eq "0" ]; then
1919
fi
2020
rm /etc/sudoers.tmp
2121

22+
echo "**** Stopping webIDE ****"
23+
pkill -u webide
24+
sleep 5s
25+
2226
echo "**** Removing systemd service ****"
2327
cd /etc/systemd/system/multi-user.target.wants
24-
systemctl disable adafruit-webide-angstrom.service
28+
rm adafruit-webide-angstrom.service
2529
rm /lib/systemd/system/adafruit-webide-angstrom.service
30+
systemctl daemon-reload
2631
echo "**** Removing the WebIDE Folder ****"
2732
rm -rf "$WEBIDE_ROOT"
2833
echo "**** Removing webide user ****"
2934
userdel -r webide
3035

31-
echo "**** The Adafruit WebIDE is now uninstalled! ****"
36+
echo "**** The Adafruit webIDE is now uninstalled! ****"
3237
echo "**** During the installation process, there were a few ****"
3338
echo "**** libraries installed that we did not uninstall as ****"
3439
echo "**** we're not able to determine if other applications are dependent ****"

0 commit comments

Comments
 (0)