summaryrefslogtreecommitdiff
path: root/contrib/cygwin/remove-cygwin-service.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cygwin/remove-cygwin-service.sh')
-rwxr-xr-xcontrib/cygwin/remove-cygwin-service.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/cygwin/remove-cygwin-service.sh b/contrib/cygwin/remove-cygwin-service.sh
new file mode 100755
index 00000000..e766333d
--- /dev/null
+++ b/contrib/cygwin/remove-cygwin-service.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+# Contributed to the boxbackup project by Per Reedtz Thomsen. pthomsen@reedtz.com
+
+# This script removes the 'boxbackup' service from the Windows service manager
+# using the cygrunsrv utility.
+
+# Date Who Comments
+# 20041005 pthomsen@reedtz.com Created
+
+cygrunsrv -R boxbackup
+
+echo "Service \"boxbackup\" removed."
+