FreeBSD AhsayOBM Uninstallation
Uninstall Instructions
To uninstall AhsayOBM use the uninstall.sh script, then run the rm command to remove the remaining AhsayOBM files from the FreeBSD machine.
# cd /usr/local/obm/bin
# sh uninstall.sh
Log Time: Wed Jan 25 00:15:16 UTC 2023
Verifying current user privilege ...
Current user has enough privilege to "uninstall".
Uninstall Ahsay Online Backup Manager from /usr/local/obm
Shutting down Scheduler
Wait 5 seconds before Scheduler exits
Kill running Ahsay Online Backup Manager
Kill Process by Image Name: /usr/local/obm/jvm/bin/bJW
Ignore Process by Image Name:
Kill Process by Image Name: /usr/local/obm/jvm/bin/bschJW
Ignore Process by Image Name:
Kill Process by Image Name: /usr/local/obm/jvm/bin/java
Ignore Process by Image Name:
Removing Scheduler script obmscheduler from service
Uninstall Service for BSD type OS
Remove script obmscheduler from /usr/local/etc/rc.d
Remove shortcut /usr/local/share/applications/obm.desktop
Ahsay Online Backup Manager uninstall procedure is complete!
It is now safe to remove files from /usr/local/obm
# rm -fr /usr/local/obm
# rm -fr /root/.obm
# rm -fr /root/tmp
Remove the obmscheduler script by using a text editor like "vi" from:
/etc/rc.conf
Example:
# vi /etc/rc.conf
hostname="FreeBSD13x64"
ifconfig_vmx0="inet 10.16.30.83 netmask 255.252.0.0"
defaultrouter="10.16.0.1"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable craash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
obmscheduler_enable="YES"
Removing the /root/.obm will delete the profile, configuration files and encryption created in AhsayOBM. The temporary folder created must also be removed.