From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Thu, 03 Jul 2008 17:08:47 +0000 Subject: Re: udev problem with udevsettle Message-Id: <20080703170847.GA21382@bongo.bofh.it> MIME-Version: 1 Content-Type: multipart/mixed; boundary="YiEDa0DAkWCtVeE4" List-Id: References: <486CD00A.3040800@lfarkas.org> In-Reply-To: <486CD00A.3040800@lfarkas.org> To: linux-hotplug@vger.kernel.org --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 03, Bryan Kadzban 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 --=20 ciao, Marco --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkhtB58ACgkQFGfw2OHuP7GXswCfXYTIhBDhd0t3wBMRk1nxh0N0 qjQAn2lYsulvWH4O8LSmvlKRfFjE0PL1 =luei -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--