Hello I am trying to stop a script when I tell the ALIX to reboot. I have a script that runs at boot already and I want it to stop when I do a reboot command. It needs to stop because this script constantly writes and deletes a file and if I do a reboot while this is running then I get an STALE error and I need to run fsck
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.0 (Linux)">
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
--></style><br><br>TO run the script at boot I put it in /etc/init.d and then on /etc/rc.local i write ./script_name, this runs it at the end of most processes at boot. ALso to tell the system to run the script I run the following command: <br>
<pre>update-rc.d blah defaults</pre><p style="margin-bottom: 0cm;" align="left"><font face="Courier New, monospace"><font size="2"><code><font face="Times New Roman, serif"><font size="3">So I am thinking is something similar Any ideas? Thanks<br>
</font></font></code></font></font></p>