Overwrite a running script and restart?



I have a (bash) script which runs on startup and wraps around a binary
executable. If the binary exits, it performs certain actions based upon
return code.

One of these actions is to update certain files on the system -- this
is performed by running the update script from the wrapper, but I need
the update script to be able to update the wrapper itself.

Can I safely overwrite the running script? If not is the best way to
make an extra startup script to do the overwriting, then reboot?

TIA,
--rob

.



Relevant Pages

  • Re: Alter Table and ORA-00054 (only one connection)?
    ... I have an update script for a schema that changes a number of tables, ... does a few insert, updates package specs etc. ...
    (comp.databases.oracle.misc)
  • Removing Hyphens and Apostrophes in UserName
    ... I wrote a sql script that will creat username using First Name intital, ... and 4 digit birth date year. ... update script to populate weblogins, ...
    (microsoft.public.sqlserver.server)
  • Re: UNDOTBS
    ... We have a large update script which filled up about 80% of a 20G ... backup and run the script again, however the UNDOTBS is still sitting ... often doing things in SQL rather than PL/SQL, cursor loops, dynamic sql ...
    (comp.databases.oracle.server)
  • Re: Alter Table and ORA-00054 (only one connection)?
    ... I have an update script for a schema that changes a number of tables, ... does a few insert, updates package specs etc. ...
    (comp.databases.oracle.misc)
  • Re: Updated perl - broke stuff
    ... >> Meaning I don't run this update script when updating perl from say ... So I DO run the script for the update to 5.8.6? ...
    (freebsd-questions)