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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.