From e86aeaafe06072fe03617a780d5130864b2fc6f7 Mon Sep 17 00:00:00 2001 From: Josip Rodin Date: Mon, 14 Sep 2009 02:29:14 +0200 Subject: [PATCH] prebacio eid_base promjenu u Linux-specific kod --- imunes.tcl | 3 +-- linux/exec.tcl | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/imunes.tcl b/imunes.tcl index 07806ba..30c0830 100755 --- a/imunes.tcl +++ b/imunes.tcl @@ -46,8 +46,7 @@ #**** set execMode interactive -# OpenVZ node id je samo broj, decimalan -set eid_base [pid] +set eid_base i[format %04x [pid]] while { [string index [lindex $argv 0] 0] == "-" } { switch -exact -- [lindex $argv 0] { diff --git a/linux/exec.tcl b/linux/exec.tcl index 61dc5d1..19d930e 100755 --- a/linux/exec.tcl +++ b/linux/exec.tcl @@ -28,6 +28,11 @@ # $Id: exec.tcl,v 1.73 2008/05/14 13:51:08 miljenko Exp $ +# OpenVZ node id je samo broj, decimalan, pa moramo overrideati +# default s FreeBSD-a koji sadrzi slovo itd +# TODO: popraviti tako da ne overrideamo i command-line --eid koji +# je mozda i dobar za nas +set eid_base [pid] #****f* exec.tcl/nexec # NAME -- 2.39.5