From: Barış Metin Date: Fri, 12 Mar 2010 16:05:53 +0000 (+0000) Subject: we'll need to import omf_slicemgr X-Git-Tag: PLCAPI-5.0-3^2~4 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0d8f952a33f5727ad6122b104de2559f22ef6a2e;hp=c995a05c7d3b7031f1ff8ee8ffc9b8d3a88ac688;p=plcapi.git we'll need to import omf_slicemgr --- 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" ;;