From de84824a8811e3a39475be8dbef98d16a58295e1 Mon Sep 17 00:00:00 2001 From: Igor Yozhikov Date: Thu, 18 Jul 2013 17:42:35 +0400 Subject: [PATCH] Fixed injectinit function Change-Id: Ib70f7bfac23c4210c533ebc075b65acf4f15f4ca --- setup-centos.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/setup-centos.sh b/setup-centos.sh index 1cc166dbb..402abc552 100644 --- a/setup-centos.sh +++ b/setup-centos.sh @@ -178,11 +178,6 @@ get_service_exec_path() # inject init injectinit() { -ln -s /lib/init/upstart-job /etc/init.d/$SERVICE_SRV_NAME -if [ $? -ne 0 ]; then - log "Can't create symlink, please run \"$(basename "$0") purge-init\" before \"$(basename "$0") inject-init\", exiting" - exit 1 -fi echo "description \"$SERVICE_SRV_NAME service\" author \"Igor Yozhikov \" start on runlevel [2345]