Koozali.org: home of the SME Server
		Legacy Forums => Experienced User Forum => Topic started by: gbl on September 25, 2004, 05:56:03 PM
		
			
			- 
				How can I remove correct an Item from server-manager?
Current I have this solution:
FILENAME=myscriptfile
rm -f /etc/e-smith/web/functions/$FILENAME
# --- Remove the panel from server-manager -----------------------------------
if [ -d /home/e-smith/db/navigation ]; then
  DBS=$(find /home/e-smith/db/navigation -type f -name "navigation.*")
  for db in $DBS; do
    /sbin/e-smith/db $db delete $FILENAME
  done
fi
After this script there is a unknown section in server-manager?
A post-upgrade signal does not fix this.
Where is the cached entry?
			 
			
			- 
				
How can I remove correct an Item from server-manager?
Please explain further what you are trying to do?  Are you simply trying to remove one of the panel links from the server-manager?  While I think is not a good thing, especially with respect to the stock panels; to each his own.
If this is what you want to do, delete the offending files from /etc/e-smith/web/function and etc/e-smith/web/panels/manager/cgi-bin (note: the cgi-bin location only contains symbolic links to the files in function).
After you do this, execute the following from the shell:  perl /etc/e-smith/events/actions/navigation-conf
You'll get a bunch of warning messages, etc, but all is good.  Link should be history.
Greg Zartman