<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=Alternative_Toaster_Modification</id>
	<title>Alternative Toaster Modification - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=Alternative_Toaster_Modification"/>
	<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=Alternative_Toaster_Modification&amp;action=history"/>
	<updated>2026-04-27T20:14:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://vistapedia.com/index.php?title=Alternative_Toaster_Modification&amp;diff=11071&amp;oldid=prev</id>
		<title>JohnLeoZ at 16:07, 18 February 2007</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=Alternative_Toaster_Modification&amp;diff=11071&amp;oldid=prev"/>
		<updated>2007-02-18T16:07:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Alternative version of /etc/init.d/VAVistADemo20060926&lt;br /&gt;
&lt;br /&gt;
Added line keeps DSL, and therefore VistA&amp;#039;s clock from running in real time. &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;sudo date $(date +%m%d%H%M%Y -r mumps.mjl)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
So now on boot-up the DSL date/time is set to mumps.mjl&amp;#039;s date last&lt;br /&gt;
modified. (which, by the way doesn&amp;#039;t change; I have not figured out a&lt;br /&gt;
simple way to add one minute to my date.) And GT.M doesn&amp;#039;t complain.&lt;br /&gt;
&lt;br /&gt;
The idea is to prevent demo data in VistADemo from aging faster than it can be created. Now we just need some demo data. :-)&lt;br /&gt;
&lt;br /&gt;
My version of the complete script is below, I could not get Bhaskar&amp;#039;s version&lt;br /&gt;
to work unmodified.&lt;br /&gt;
&lt;br /&gt;
--[[User:JohnLeoZ|gra&amp;#039;pa Z]] 10:07, 18 Feb 2007 (CST)&lt;br /&gt;
&lt;br /&gt;
This automatically sets system date, starts/stops journaling, and TaskMan.&lt;br /&gt;
-------------------------------------------------------&lt;br /&gt;
 &lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 PATH=/bin:/usr/bin:/sbin:/usr/sbin&lt;br /&gt;
 &lt;br /&gt;
 source /usr/local/gtm_V5.2-000/gtmprofile&lt;br /&gt;
 cd /var/VAVistADemo20060926/gtm_V5.2-000/g&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
   start)&lt;br /&gt;
        echo Reset date/time:&lt;br /&gt;
        sudo date $(date +%m%d%H%M%Y -r mumps.mjl)&lt;br /&gt;
        /usr/local/gtm_V5.2-000/mupip journal -recover -backward mumps.mjl&lt;br /&gt;
        ../run RESTART^ZTMB &amp;lt;&amp;lt;EOF&lt;br /&gt;
 Y&lt;br /&gt;
 EOF&lt;br /&gt;
          ;;&lt;br /&gt;
    stop)&lt;br /&gt;
        ../run STOP^ZTMKU &amp;lt;&amp;lt;EOF&lt;br /&gt;
 Y&lt;br /&gt;
 Y&lt;br /&gt;
 EOF&lt;br /&gt;
        sleep 5&lt;br /&gt;
        killall mumps&lt;br /&gt;
        /usr/local/gtm_V5.2-000/mupip journal -recover -backward mumps.mjl&lt;br /&gt;
          ;;&lt;br /&gt;
    *)&lt;br /&gt;
        echo &amp;quot;Usage: /etc/init.d/VAVistADemo20060926 {start|stop}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
 esac&lt;br /&gt;
 &lt;br /&gt;
 exit 0&lt;br /&gt;
 &lt;br /&gt;
-------------------------------------------------------------&lt;/div&gt;</summary>
		<author><name>JohnLeoZ</name></author>
	</entry>
</feed>