Files
i2p.i2p/installer/resources/uninstall_i2p_service_osx.command
meeh 5056706742 Added command scripts for osx to install i2p as a daemon in launchd.
.command extension make it possible to double click on it like bat files
in windows. Daemon is runned as the user who executes the command file.
2012-09-05 21:36:24 +00:00

14 lines
472 B
Bash

#!/bin/bash
# 2012, The I2P Project
# http://www.i2p2.de/
# This code is public domain.
# Author: Meeh
echo "Please enter your password for sudo privileges to uninstall I2P from launchd"
sudo launchctl unload -w /Library/LaunchDaemons/net.i2p.router.plist
if [ $? == 0 ]; then
sudo rm -f /Library/LaunchDaemons/net.i2p.router.plist
echo "I2P Router wrapper was successfully uninstalled from launchd."
else
echo "I2P Router wrapper was not uninstalled from launchd."
fi