On Mon, 20 Oct 2008 14:37:40 +0200 Tomasz Chmielewski <mangoo at wpkg.org> wrote: > Currently, there is no standard way to start and configure tgtd via a init.d script. > As a result, even if any distribution packages tgt, it doesn't contain any startup script. > > So let's help the packagers! Really? I thought that Mike has an init script for RHEL. > Below, an example init.d script which is not distribution specific. > Perhaps tgt-admin needs to exit with more meaningful codes - right now, it exits with > non zero if something failed totally. It should exit with a specified code in several cases > (i.e., target update was generally successful, but some targets were in use - not updated). > > > I suggest placing it in scripts/init.d/tgt.example. Placing an init script in scripts/init.d/tgt.example is fine by me. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html |