Directory for custom Korn Shell scripts

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Directory for custom Korn Shell scripts

  • Creator
    Topic
  • #53484
    Bruce Drake
    Participant

      We have written a few custom Korn Shell scripts and we want to store them in a directory that is not written over with Cloverleaf upgrades. The directory PATH should also be accessible at HCI login via generic .profile file. I used /home/hci/bin and it seems to work without issue but we have not performed any upgrades since I began using it. Can anyone think of a reason that I should not use this directory or indicate a better directory to use instead?

    Viewing 1 reply thread
    • Author
      Replies
      • #77839
        James Cobane
        Participant

          Bruce,

          We have normally put these types of scripts into our own custom directory, then simply soft-linked them under the $HCIROOT/usercmds directory.  The usercmds directory is normally part of the path of the hci user and is intended to be used for these types of scripts, so your scripts should be executable from the command line.

          Hope this helps.

          Jim Cobane

          Henry Ford Health

        • #77840
          Robert Milfajt
          Participant

            We have a directory, $HCISITEDIR/bin, where we put these scripts. In that way, with HACMP, the shared disk fails over for us and the scripts are available without having to keep two copies in sync.

            Hope this helps,

            Robert Milfajt
            Northwestern Medicine
            Chicago, IL

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.