From a0affb8860824dfa91a3a585186eb9b936bd9f8f Mon Sep 17 00:00:00 2001 From: mollusk Date: Wed, 6 Jul 2016 12:37:17 -0700 Subject: [PATCH] Updated Script: svc.sh - Renamed in header to svc --- svc.sh | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/svc.sh b/svc.sh index 5969ddb..5503750 100755 --- a/svc.sh +++ b/svc.sh @@ -1,19 +1,19 @@ #!/bin/bash -# SC - Service Commander - frontend for the sv command +# SVC - SV Commander - frontend for the sv command ############################################################################################### ## Copyright (c) 2015, Justin Moore ## -## Permission to use, copy, modify, and/or distribute this software -## for any purpose with or without fee is hereby granted, +## Permission to use, copy, modify, and/or distribute this software +## for any purpose with or without fee is hereby granted, ## provided that the above copyright notice and this permission notice appear in all copies. ## -## THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -## WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -## AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, -## OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -## WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +## THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +## WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +## AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, +## OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +## WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ############################################################################################## @@ -26,7 +26,7 @@ case $1 in unlink | --remove-service ) rm -v /var/service/$2 ;; - + linked | --linked-services ) cd /etc/sv && find -xtype l -exec ls -l {} \; ;; @@ -88,7 +88,7 @@ case $1 in echo "link : Creates a symlink from /etc/sv/ -> /var/service/" echo ;; - + help-unlink ) echo echo "unlink : Removes symlink from /etc/sv/ -> /var/service/" @@ -166,4 +166,3 @@ case $1 in ;; esac -