pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

slurm: Remove experimental setup script



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Mon May 16 16:42:56 2016 -0500
Changeset:	d7ae815ec493ea349e0d0d33d482dcc551d078b8

Removed Files:
	slurm/files/linux-slurm-enable

Log Message:
slurm: Remove experimental setup script

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d7ae815ec493ea349e0d0d33d482dcc551d078b8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 slurm/files/linux-slurm-enable | 64 ------------------------------------------
 1 file changed, 64 deletions(-)

diffs:
diff --git a/slurm/files/linux-slurm-enable b/slurm/files/linux-slurm-enable
deleted file mode 100644
index b162759..0000000
--- a/slurm/files/linux-slurm-enable
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh -e
-
-##########################################################################
-#   Script description:
-#       
-#   Arguments:
-#       
-#   Returns:
-#       
-#   History:
-#   Date        Name        Modification
-#   2013-12-26  root        Begin
-##########################################################################
-
-usage()
-{
-    printf "Usage: $0 node-type\n"
-    exit 1
-}
-
-
-##########################################################################
-#   Main
-##########################################################################
-
-if [ $# != 1 ]; then
-    usage
-fi
-
-node_type=$1
-#./munge-enable $node_type
-
-case $node_type in
-'head')
-    prefix='/usr/pkg-1'
-    ;;
-'compute')
-    prefix='/sharedapps/pkg-1'
-    ;;
-*)
-    printf "$0 is only for head and compute nodes.\n"
-    exit 1
-    ;;
-esac
-
-# slurm.conf
-if [ ! -e $prefix/etc/slurm.conf ]; then
-    printf "Missing $prefix/etc/slurm.conf.  Copy it from head node.\n"
-    exit 1
-fi
-
-# Init script
-#if [ ! -e /etc/init.d/slurm ]; then
-    printf "exec_prefix=/$prefix\nprefix=$prefix\n\n" \
-	> /etc/init.d/slurm
-    chmod 750 /etc/init.d/slurm
-    cat $prefix/share/examples/slurm/init.d.slurm >> /etc/init.d/slurm
-    chkconfig slurm on
-    service slurm restart
-#fi
-
-mkdir -p /var/log/slurm
-chown slurm:slurm /var/log/slurm
-


Home | Main Index | Thread Index | Old Index