-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Marco d'Itri wrote: > On Jul 03, Bryan Kadzban <bryan@xxxxxxxxxxxxxxxxxxxxx> wrote: > >> #!/bin/bash >> /path/to/current/script "$@" & > > This is quite inefficient. Much better: > > #!/bin/sh -e > > do_everything { > echo do stuff > } > > do_everything & > exit 0 Ah, yes, that'd work fine as well, and would save at least one PID. I didn't even think to use a shell function (obviously). Thanks! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIbUV9S5vET1Wea5wRAxJuAKC4cXU2rc2YoPvtIbgYTvpDLk6mogCgghTy tqiH10ly5m6bPRCiqk+gCYA= =UE5H -----END PGP SIGNATURE----- -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html