X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=init.d%2Fsfa;h=d5b0bb452b5ad0e8cf10564e77a18d24e7d5d223;hb=4829cca29e865ae2d56a6196cc5684bba76efaf0;hp=ab0007c2aa3286705cdaec0618f8ac9e3622c273;hpb=ad6e9bdc507c121881426c9cc14dca9fc1d9f60b;p=sfa.git diff --git a/init.d/sfa b/init.d/sfa index ab0007c2..d5b0bb45 100755 --- a/init.d/sfa +++ b/init.d/sfa @@ -1,11 +1,12 @@ #!/bin/bash # -# sfa Wraps PLCAPI into the SFA compliant API +# sfa +# Provides a generic SFA wrapper based on the initial PlanetLab Implementation # # hopefully right after plc # chkconfig: 2345 61 39 # -# description: Wraps PLCAPI into the SFA compliant API +# description: An implementation of the SFA Architecture # #################### @@ -113,7 +114,6 @@ function reload () { # Regenerate the main configuration file from default values # overlaid with site-specific and current values. - # Thierry -- 2007-07-05 : values in plc_config.xml are *not* taken into account here files=( $sfa_default_config $sfa_local_config ) for file in "${files[@]}" ; do if [ -n "$force" -o $file -nt $sfa_whole_config ] ; then @@ -141,10 +141,6 @@ function reload () { if [ -n "$force" -o $sfa_whole_config -nt /etc/sfa/sfa_config.sh ] ; then sfa-config --shell $sfa_default_config $sfa_local_config > /etc/sfa/sfa_config.sh fi -# if [ -n "$force" -o $sfa_whole_config -nt /etc/sfa/php/sfa_config.php ] ; then -# mkdir -p /etc/sfa/php -# plc-config --php $sfa_whole_config >/etc/sfa/php/sfa_config.php -# fi # [re]generate the sfa_component_config # this is a server-side thing but produces a file that somehow needs to be pushed