<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<font size="-1"><font face="Verdana">The path is hard coded wrong also.<br>
<br>
/etc/default/$prog needs to be changed to /etc/defaults/$prog<br>
<br>
I think that pretty much covers off the init script.<br>
<br>
-Fred<br>
</font></font><br>
-------- Original Message --------<br>
Subject: Re: [PVE-User] KSM not working?<br>
From: Dietmar Maurer <a class="moz-txt-link-rfc2396E" href="mailto:dietmar@proxmox.com"><dietmar@proxmox.com></a><br>
To: Fred Supinski <a class="moz-txt-link-rfc2396E" href="mailto:fred@vmu.ca"><fred@vmu.ca></a>, <a class="moz-txt-link-abbreviated" href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:pve-user@pve.proxmox.com"><pve-user@pve.proxmox.com></a><br>
Date: Wed Dec 30 2009 02:57:54 GMT-0500 (Eastern Standard Time)<br>
<blockquote cite="mid:4B3B09E9.702@vmu.ca" type="cite">
<pre wrap="">The statement should then be nested in the if statement that is loading
that file, shouldn't it?
#Include defaults if available
if [ -f /etc/default/$prog ] ; then
. /etc/default/$prog
if [ "$START" != "yes" ]; then
exit 0
fi
fi
-Fred
-------- Original Message --------
Subject: Re: [PVE-User] KSM not working?
From: Dietmar Maurer <a class="moz-txt-link-rfc2396E" href="mailto:dietmar@proxmox.com"><dietmar@proxmox.com></a>
To: Fred Supinski <a class="moz-txt-link-rfc2396E" href="mailto:fred@vmu.ca"><fred@vmu.ca></a>, <a class="moz-txt-link-abbreviated" href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:pve-user@pve.proxmox.com"><pve-user@pve.proxmox.com></a>
Date: Wed Dec 30 2009 02:57:54 GMT-0500 (Eastern Standard Time)
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">I'm not sure about the if statement though. Where is this variable being pulled from?
</pre>
</blockquote>
<pre wrap="">
from /etc/defaults/ksmtuned
- Dietmar
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
pve-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>
<a class="moz-txt-link-freetext" href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>
</pre>
</blockquote>
<br>
</body>
</html>