Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
prun-ohpc
prun-Add-user-config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File prun-Add-user-config.patch of Package prun-ohpc
prun: Add user config Common config file: /etc/prunrc User config file: $HOME/.prunrc --- prun 2016-10-17 09:59:23.092593217 +0200 +++ prun.suse 2016-10-19 17:23:30.473084829 +0200 @@ -26,7 +26,8 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #------------------------------------------------------------------------------- -CONFIG=/etc/sysconfig/prun +CONFIG=/etc/prunrc +LOCALCONFIG=$HOME/.prunrc MODE=native LOGLEVEL=2 # 0=error,1=warn,2=info,3=debug RM=slurm @@ -48,7 +49,9 @@ function parse_config_file () { - if [ -e $CONFIG ];then + if [ -e $LOCALCONFIG ];then + source $CONFIG 2> /dev/null + elif [ -e $CONFIG ];then source $CONFIG 2> /dev/null fi }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor