Koozali.org: home of the SME Server

Server-Manager Entry - remove RPM

gbl

Server-Manager Entry - remove RPM
« on: September 25, 2004, 05:56:03 PM »
How can I remove correct an Item from server-manager?

Current I have this solution:

Code: [Select]

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?

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: Server-Manager Entry - remove RPM
« Reply #1 on: September 28, 2004, 08:08:40 PM »
Quote from: "gbl"
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
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.