Commit 1dc5ceb7 authored by Claes Sjofors's avatar Claes Sjofors

Distribute, searchpath for userdatabase, rhost file and pwrp_stop.sh change...

Distribute, searchpath for userdatabase, rhost file and pwrp_stop.sh change from pwrp_src to pwrp_cnf
parent 37173fd7
......@@ -55,7 +55,7 @@ SObject pwrb:Class
! @b UserDatabase
! The Proview user database $pwra_db/pwr_user.dat is included.
! The source is fetched from
! 1. $pwrp_src/'nodename'/pwr_user.dat
! 1. $pwrp_cnf/'nodename'/pwr_user.dat
! 2. $pwra_db/pwr_user.dat
! @b LoadFiles
! Loadfiles are included, i.e.
......@@ -73,25 +73,25 @@ SObject pwrb:Class
! All Ge graph files $pwrp_exe/*.pwg are included.
! @b XttHelpFile
! The xtt help file is included. The source file is fetched from
! 1. $pwrp_src/'nodename'/xtt_help.dat
! 1. $pwrp_cnf/'nodename'/xtt_help.dat
! 2. $pwrp_exe/xtt_help.dat
! @b XttResourceFile
! The xtt resource file with function key definitions is included. The source
! file is fetched from
! 1. $pwrp_src/'nodename'/Rt_xtt
! 1. $pwrp_cnf/'nodename'/Rt_xtt
! 2. $pwrp_pop/Rt_xtt
! and distributed to /home/b55
! @b XttSetupFile
! The xtt setup file with menu configuration and symbol definitions is included.
! The source is fetched from
! 1. $pwrp_src/'nodename'/xtt_setup.rtt_com
! 1. $pwrp_cnf/'nodename'/xtt_setup.rtt_com
! 2. $pwrp_pop/xtt_setup.rtt_com
! and distributed to /home/b55
! @b FlowFiles
! The plc trace files $pwrp_load/*.flw are included.
! @b RHostsFile
! The .rhost file used by rsh is included. The source is fetched from
! 1. $pwrp_src/'nodename'/.rhosts
! 1. $pwrp_cnf/'nodename'/.rhosts
! 2. $pwra_db/.rhosts
! @b WebFiles
! All web-files in $pwrp_web are included.
......
......@@ -49,7 +49,7 @@ SObject pwrb:Type
!/**
! The Proview user database $pwra_db/pwr_user.dat is included.
! The source is fetched from
! 1. $pwrp_src/'nodename'/pwr_user.dat
! 1. $pwrp_cnf/'nodename'/pwr_user.dat
! 2. $pwra_db/pwr_user.dat
!*/
Object UserDatabase $Bit
......@@ -115,7 +115,7 @@ SObject pwrb:Type
EndObject
!/**
! The xtt help file is included. The source file is fetched from
! 1. $pwrp_src/'nodename'/xtt_help.dat
! 1. $pwrp_cnf/'nodename'/xtt_help.dat
! 2. $pwrp_exe/xtt_help.dat
!*/
Object XttHelpFile $Bit
......@@ -128,7 +128,7 @@ SObject pwrb:Type
!/**
! The xtt resource file with function key definitions is included. The source
! file is fetched from
! 1. $pwrp_src/'nodename'/Rt_xtt
! 1. $pwrp_cnf/'nodename'/Rt_xtt
! 2. $pwrp_pop/Rt_xtt
! and distributed to /home/b55
!*/
......@@ -142,7 +142,7 @@ SObject pwrb:Type
!/**
! The xtt setup file with menu configuration and symbol definitions is included.
! The source is fetched from
! 1. $pwrp_src/'nodename'/xtt_setup.rtt_com
! 1. $pwrp_cnf/'nodename'/xtt_setup.rtt_com
! 2. $pwrp_pop/xtt_setup.rtt_com
! and distributed to /home/b55
!*/
......@@ -165,7 +165,7 @@ SObject pwrb:Type
EndObject
!/**
! The .rhosts file used by rsh is included. The source is fetched from
! 1. $pwrp_src/'nodename'/.rhosts
! 1. $pwrp_cnf/'nodename'/.rhosts
! 2. $pwra_db/.rhosts
!*/
Object RHostsFile $Bit
......@@ -197,7 +197,7 @@ SObject pwrb:Type
EndObject
!/**
! The .ssh/authorized_keys file used by ssh is included. The source is fetched from
! 1. $pwrp_src/'nodename'/authorized_keys
! 1. $pwrp_cnf/'nodename'/authorized_keys
! 2. $pwra_db/authorized_keys
!*/
Object AuthorizedKeysFile $Bit
......
......@@ -2125,7 +2125,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
fprintf( file, "boot %s\n", nodename_ptr);
if ( *components_ptr & pwr_mDistrComponentMask_UserDatabase)
fprintf( file, "appl %s W $pwrp_src/%s/pwr_user2.dat:$pwra_db/pwr_user2.dat $pwra_db/pwr_user2.dat\n",
fprintf( file, "appl %s W $pwrp_cnf/%s/pwr_user2.dat:$pwra_db/pwr_user2.dat $pwra_db/pwr_user2.dat\n",
nodename_ptr, nodename_ptr);
if ( *components_ptr & pwr_mDistrComponentMask_ApplFile)
fprintf( file, "appl %s W "load_cNameAppl" $pwrp_load/\n",
......@@ -2149,10 +2149,10 @@ pwr_tStatus lfu_SaveDirectoryVolume(
if ( *components_ptr & pwr_mDistrComponentMask_FlowFiles)
fprintf( file, "appl %s W $pwrp_load/*.flw\n", nodename_ptr);
if ( *components_ptr & pwr_mDistrComponentMask_RHostsFile)
fprintf( file, "appl %s W $pwrp_src/%s/.rhosts:$pwra_db/.rhosts /home/pwrp/.rhosts\n",
fprintf( file, "appl %s W $pwrp_cnf/%s/.rhosts:$pwra_db/.rhosts /home/pwrp/.rhosts\n",
nodename_ptr, nodename_ptr);
if ( *components_ptr & pwr_mDistrComponentMask_AuthorizedKeysFile)
fprintf( file, "appl %s W $pwrp_src/%s/authorized_keys:$pwra_db/authorized_keys /home/pwrp/.ssh/authorized_keys\n",
fprintf( file, "appl %s W $pwrp_cnf/%s/authorized_keys:$pwra_db/authorized_keys /home/pwrp/.ssh/authorized_keys\n",
nodename_ptr, nodename_ptr);
if ( *components_ptr & pwr_mDistrComponentMask_WebFiles) {
fprintf( file, "appl %s W $pwrp_web/*.html\n", nodename_ptr);
......@@ -2162,7 +2162,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
fprintf( file, "appl %s S $pwrp_web/*.pdf\n", nodename_ptr);
}
if ( *components_ptr & pwr_mDistrComponentMask_PwrpStop)
fprintf( file, "appl %s W $pwrp_src/%s/pwrp_stop.sh:$pwrp_exe/pwrp_stop.sh $pwrp_exe/pwrp_stop.sh\n",
fprintf( file, "appl %s W $pwrp_cnf/%s/pwrp_stop.sh:$pwrp_exe/pwrp_stop.sh $pwrp_exe/pwrp_stop.sh\n",
nodename_ptr, nodename_ptr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment