search for: nset

Displaying 20 results from an estimated 30 matches for "nset".

Did you mean: net
2009 Oct 09
1
[PATCH node] validify ipv4/ipv6 static/dhcp choice else loop
...rking @@ -160,56 +160,66 @@ function configure_interface return;; esac - read -ep "Enable IPv4 support ([S]tatic IP, [D]HCP, [N]o or [A]bort)? " - case $REPLY in - D|d) - BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/BOOTPROTO dhcp" - ;; - S|s) - printf "\n" - read -ep "IP Address: "; IPADDR=$REPLY - read -ep " Netmask: "; NETMASK=$REPLY - read -ep "...
2009 Jul 13
1
[PATCH node] Adds vlan support to auto-installations for the node. bz#511056
...ame +function setup_vlan +{ + local nic=$1 + local bridge=$2 + local vlan_id=$3 + local vlroot=$4 + local vlconfig=$5 + local ifroot=$6 + local vlfilename=$7 + local iffilename=$8 + + eval $vlroot="${ifroot}.${vlan_id}" + eval $vlconfig=\"rm \$${vlroot}\\nset \$${vlroot}/DEVICE ${nic}.${vlan_id}\" + eval $vlconfig=\"\$${vlconfig}\\nset \$${vlroot}/BRIDGE ${bridge}\" + eval $vlconfig=\"\$${vlconfig}\\nset \$${vlroot}/VLAN yes\" + eval $vlfilename="${iffilename}.${vlan_id}" +} + function configure_interface {...
2008 Sep 01
1
linebreak in mathematical anotation?
...inzi.psych.upenn.edu/R/Rhelp02a/archive/129808.html): tt <- c("italic(First~~set)", "italic(Second~~set)", "italic(third~~set") barplot(1:3, names.arg=parse(text=tt)) But I would like to have it with "set" in a second column, like tt <- c("First\nset", "Second\nset", "third\nset") barplot(1:3, names.arg=tt) only in italics. Is this possible? Thanks Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Faculty of S...
2009 Dec 02
2
calculation problem when export and import data
Hello, I have a question on export and import data. Thank you for any suggestions. data 'simul' is generated as follows: N <- 20 n <- N/2 nsets <- 10 simul <- matrix(0,nsets,N) th <- c(0,1, 1) for(i in 1:nsets){ simul[i,] <- rnorm(N,mean= rep(th[1:2],N/2),sd=th[3]) } I exported data as follows: write.table(simul, file="D:\\test.txt", row.names=F, col.names=F) When I want to use this data, I imported as follo...
2009 Jun 25
1
[PATCH node] Rerunning network config resets all network config. bz#507393
...onfigured, then exit the script @@ -55,10 +57,10 @@ function configure_interface printf "\nConfigure $BRIDGE for use by $NIC..\n\n" - local IF_ROOT="$CONFIG_FILE_ROOT-$NIC" + local IF_ROOT="$IFCONFIG_FILE_ROOT-$NIC" local IF_CONFIG="rm $IF_ROOT\nset $IF_ROOT/DEVICE $NIC" - local BR_ROOT="$CONFIG_FILE_ROOT-$BRIDGE" + local BR_ROOT="$IFCONFIG_FILE_ROOT-$BRIDGE" local BR_CONFIG="rm $BR_ROOT\nset $BR_ROOT/DEVICE $BRIDGE" BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/TYPE Bridge" BR_CONFIG=&...
2006 May 19
1
trouble with plotrix package
Hello list, I wrote a simple program to plot data on polar axes, taking advantage of the plotrix package and its function radial.plot. The basic plot works fine, but I am having difficulties with the formatting. There are three problems, but I thought I would attack them one at a time. Here is the first: If my data set contains values with all vector lengths between 0 and 100 (and various
2009 Mar 24
0
Issue with child process exits
...dler); #endif notify_parent(); errno = save_errno; } As far as I can tell the primary purpose of this method is to set a value for child_terminated which is referenced by the following method: static void collect_children(void) { #ifndef HAVE_NETWARE pid_t pid; sigset_t oset, nset; int status; /* block SIGCHLD while we check for dead children */ sigemptyset(&nset); sigaddset(&nset, SIGCHLD); sigprocmask(SIG_BLOCK, &nset, &oset); if (child_terminated) { while ((pid = waitpid(-1, &status, WNOHANG)) > 0 || (pid < 0 && errno == EINTR))...
2005 Jan 19
1
sshd hangs
...: sigprocmask(SIG_BLOCK, 0xFFBEEFE8, 0xFFBEEFF8) = 0 24453: sigprocmask(SIG_SETMASK, 0xFFBEEFF8, 0x00000000) = 0 24453: poll(0xFFBEEF28, 2, -1) (sleeping...) it seems there is another problem here with collect_children() not handling ECHILD: { pid_t pid; sigset_t oset, nset; int status; /* block SIGCHLD while we check for dead children */ sigemptyset(&nset); sigaddset(&nset, SIGCHLD); sigprocmask(SIG_BLOCK, &nset, &oset); if (child_terminated) { while ((pid = waitpid(-1, &status, W...
2005 Jan 24
0
AW: sshd hangs
...ld [%i1], %o2 0x1f274: add %o0, 1, %o0 0x1f278: call +0x439b8 <PLT=libc.so.1`select> 0x1f27c: clr %o3 c code (patched): static void collect_children(void) { pid_t pid; sigset_t oset, nset; int status; /* block SIGCHLD while we check for dead children */ sigemptyset(&nset); sigaddset(&nset, SIGCHLD); sigprocmask(SIG_BLOCK, &nset, &oset); if (child_terminated) { while ((pid = waitpid(-1, &status, WNOH...
2009 Jul 07
1
Obsoletes previous patch
This patch obsoletes the previously submitted patch. It adds a warning message to the user when they select to change the NTP settings.
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...ot; case $REPLY in @@ -129,18 +128,22 @@ function configure_interface esac printf "\n" - read -ep "Is this correct (Y/N/A)? " - case $REPLY in - Y|y) - IF_CONFIG="$IF_CONFIG\nset $IF_ROOT/ONBOOT yes" - BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/ONBOOT yes" - - printf "$IF_CONFIG\n" > $IF_FILENAME - printf "$BR_CONFIG\n" > $BR_FILENAME - break +...
2009 May 22
0
[PATCH node] Restricts network configuration to a single NIC.
...fi + + rm -rf $WORKDIR/* + CONFIGURED_NIC=$NIC + local BRIDGE=br$NIC local IF_FILENAME="$WORKDIR/augtool-$NIC" local BR_FILENAME="$WORKDIR/augtool-$BRIDGE" @@ -69,7 +81,7 @@ function configure_interface BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/GATEWAY $GATEWAY" fi ;; - A|a) return ;; + A|a) CONFIGURED_NIC=""; return ;; esac printf "\n" @@ -91,7 +103,7 @@ function configure_interface BR...
2001 Oct 10
7
OpenSSH solaris: bad return code after exec of remote command
Hi OpenSSH developers, I am using openSSH (now 2.9.9p2, but prob occurs in 2.9p2 also) to execute commands on a remote machine which outputs data to stdout then pipes it to another invocation of ssh which connects back to the first machine in the same way, where it starts a program to read and store the output from the command on the second machine. I am using the "command" option in
2011 Aug 11
1
[PATCH] fix augtool calls
parse input augtool strings to oper,key,value --- scripts/network.py | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/scripts/network.py b/scripts/network.py index f51ee7c..65b551c 100644 --- a/scripts/network.py +++ b/scripts/network.py @@ -165,11 +165,11 @@ class Network: ntpconf = ntpconf.split("\n") for line
2012 Mar 07
1
Finish ChanSpy() when channel spied hangs up
Is there any way to do this? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120307/77764e4b/attachment.htm>
2004 Apr 06
0
Accuracy Bug (PR#1228), (PR#6743)
...28" in your subject; if you had, no new report would have been created, and things would have gone to the proper place in the R-bugs repository ...] namely the fact that var(rep(1e30, n)) does not always (for all n) give 0. With the following function tst.var <- function(x,nset= 2:100) { for(n in nset) { v <- var(rep(x,n)) if(v != 0) cat(sprintf("%4d: %20.12g\n", n,v)) } } Actually, on my current desktop (AMD Athlon,Linux, R 1.9.0beta) the computations seem to be more often exact than they used to: Even tst.var(1e30, 2:5000) doesn't produc...
2009 Nov 11
1
[PATCH] Static IPv4 addresses entered are validated when they're entered.
...t; Gateway: "; GATEWAY=$REPLY + input_ipv4_address IPADDR "IP Address" + input_ipv4_address NETMASK " Netmask" + input_ipv4_address GATEWAY " Gateway" BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/BOOTPROTO none" BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/IPADDR $IPADDR" -- 1.6.2.5
2009 Dec 07
1
Rebased...
This version of the patch was rebased to go on top of recent changes committed to ovirt-config-networking on next.
2010 Oct 25
0
[PATCH node] add network.py script
.../augtool-" + self.CONFIGURED_NIC + BR_FILENAME = self.WORKDIR + "/augtool-" + BRIDGE + log("\nConfigure $BRIDGE for use by $NIC..\n\n") + IF_ROOT = "%s-%s" % (self.IFCONFIG_FILE_ROOT, self.CONFIGURED_NIC) + self.IF_CONFIG += "rm %s\nset %s/DEVICE %s\n" % (IF_ROOT, IF_ROOT, self.CONFIGURED_NIC) + BR_ROOT = "%s-%s" % (self.IFCONFIG_FILE_ROOT, BRIDGE) + self.BR_CONFIG += "rm %s\nset %s/DEVICE %s\n" % (BR_ROOT, BR_ROOT, BRIDGE) + self.BR_CONFIG += "set %s/TYPE Bridge\n" % BR_ROOT...
2009 May 27
4
[PATCH node] REPOST Joey's and Darryl's ovirt-config-* patches
This is a repost of patches for ovirt-config-* ACK to all. Pushed.