From b9756915e37fcd74054c01a88090b920744adff0 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Thu, 4 Nov 2010 18:57:50 -0500 Subject: linhes-config: remove add_service and remove service. These files are located in runitt --- abs/core/LinHES-config/add_service.sh | 15 --------------- abs/core/LinHES-config/remove_service.sh | 8 -------- 2 files changed, 23 deletions(-) delete mode 100755 abs/core/LinHES-config/add_service.sh delete mode 100755 abs/core/LinHES-config/remove_service.sh diff --git a/abs/core/LinHES-config/add_service.sh b/abs/core/LinHES-config/add_service.sh deleted file mode 100755 index 190d604..0000000 --- a/abs/core/LinHES-config/add_service.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -SERVICE_DIR=/var/service -SCRIPT_DIR=/etc/sv -if [ -d $SCRIPT_DIR/$1 ] -then - if [ -d $SERVICE_DIR/$1 ] - then - echo "$1 already there" - else - ln -s $SCRIPT_DIR/$1 $SERVICE_DIR/$1 - echo "adding $1" - fi -else - echo "couldn't find $SCRIPT_DIR/$1" -fi diff --git a/abs/core/LinHES-config/remove_service.sh b/abs/core/LinHES-config/remove_service.sh deleted file mode 100755 index 6cc4b4f..0000000 --- a/abs/core/LinHES-config/remove_service.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -SERVICE_DIR=/var/service -SCRIPT_DIR=/etc/sv -if [ -e $SERVICE_DIR/$1 ] -then - echo "removing" - rm $SERVICE_DIR/$1 -fi -- cgit v0.12