Using resource files for rs_init

This section explains how to prepare a resource file for rs_init.

StepsUsing resource files for rs_init

  1. From Table B-1, find the resource file template you want to use.

  2. Make a copy of the template and rename it to distinguish it from the original. For example:

    cp install.rs install.rsx
    

    NoteYou must have read and write permissions on the copy of the resource file template that you want to edit. You may need to grant write permission to yourself as the file owner.

  3. Use a text editor to edit the new resource file.

    To use the vi editor, for example, enter:

    vi install.rsx
    

    See “Editing a resource file” for instructions.

  4. When you have finished editing the resource file, start rs_init from the operating system prompt, using the -r flag (see Table B-2) to specify your resource file. For example:

    $SYBASE/$SYBASE_REP/install/rs_init -r install.rsx
    

    WARNING! If you try to start a resource file session with an input file that is not an edited copy of one of the resource file templates, rs_init fails upon validation of the input file.