From 0d8f952a33f5727ad6122b104de2559f22ef6a2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Fri, 12 Mar 2010 16:05:53 +0000 Subject: [PATCH] we'll need to import omf_slicemgr --- PLCAPI.spec | 6 +++--- omf/{omf-slicemgr.py => omf_slicemgr.py} | 0 plc.d/omf-slicemgr | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename omf/{omf-slicemgr.py => omf_slicemgr.py} (100%) diff --git a/PLCAPI.spec b/PLCAPI.spec index b23bd37..e834b59 100644 --- a/PLCAPI.spec +++ b/PLCAPI.spec @@ -109,8 +109,8 @@ chmod 444 ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d/* echo "* Installing wsdl" install -D -m 644 wsdl/plcapi.wsdl $RPM_BUILD_ROOT/var/www/html/wsdl/plcapi.wsdl -# Install omf-slicemgr.py -install -D -m 755 omf/omf-slicemgr.py $RPM_BUILD_ROOT/usr/bin/omf-slicemgr.py +# Install omf_slicemgr.py +install -D -m 755 omf/omf_slicemgr.py $RPM_BUILD_ROOT/usr/bin/omf_slicemgr.py %clean rm -rf $RPM_BUILD_ROOT @@ -128,7 +128,7 @@ rm -rf $RPM_BUILD_ROOT /etc/plc.d /etc/planetlab/db-config.d /var/www/html/wsdl/plcapi.wsdl -/usr/bin/omf-slicemgr.py* +/usr/bin/omf_slicemgr.py* %changelog * Thu Feb 11 2010 Thierry Parmentelat - PLCAPI-5.0-2 diff --git a/omf/omf-slicemgr.py b/omf/omf_slicemgr.py similarity index 100% rename from omf/omf-slicemgr.py rename to omf/omf_slicemgr.py diff --git a/plc.d/omf-slicemgr b/plc.d/omf-slicemgr index 8f4435b..77e3ffc 100755 --- a/plc.d/omf-slicemgr +++ b/plc.d/omf-slicemgr @@ -23,7 +23,7 @@ case "$1" in MESSAGE=$"Starting the OMF Slice Manager" dialog "$MESSAGE" - daemon /usr/bin/omf-slicemgr.py & + daemon /usr/bin/omf_slicemgr.py & result "$MESSAGE" ;; @@ -36,7 +36,7 @@ case "$1" in MESSAGE=$"Stopping the OMF Slice Manager" dialog "$MESSAGE" - killproc omf-slicemgr.py + killproc omf_slicemgr.py result "$MESSAGE" ;; -- 2.43.0