Where should special command be placed in rdist script file?

Solution Verified - Updated -

Issue

  • Where should special command be placed in rdist script file?

    An example below does not work as expected.

    # cat /tmp/distfile
    HOSTB=testhost
    
    TESTA=/tmp/testa.txt
    TESTB=/tmp/testb.txt
    
    cmd1a:
    ${TESTA} -> ${HOSTB}
     install -R;
    ${TESTB} -> ${HOSTB}
     install -R;
    special /tmp/testa.txt "/bin/touch /tmp/testb.txt.txt"
    

Environment

  • Red Hat Enterprise Linux 6
  • rdist

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content