From: John L Fjellstad Date: Sun, 22 Feb 2004 09:25:59 +0000 Subject: Re: updated init script Message-Id: <20040222092559.GB2405@fjellstad.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Clx92ZfkiYIKRjnr" List-Id: References: <20040221222036.GA9441@wonderland.linux.it> In-Reply-To: <20040221222036.GA9441@wonderland.linux.it> To: linux-hotplug@vger.kernel.org --Clx92ZfkiYIKRjnr Content-Type: multipart/mixed; boundary="qlTNgmc+xy1dBmNv" Content-Disposition: inline --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 21, 2004 at 11:20:36PM +0100, Marco d'Itri wrote: > I'm attaching the new init script I wrote for the debian package[1], in > the hope it will be useful to other distributions (again, please do not > just distribute it with the package, it will do not good to debian users). I'm wondering why you think these scripts won't be useful for debian users? I added a patch against your script, so that admins can decide whether they want to use udev or not. Kinda what Debian currently does with devfs. --=20 John L. Fjellstad web: http://www.fjellstad.org/ Quis custodiet ipsos custodes --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="udev.patch" Content-Transfer-Encoding: quoted-printable --- udev.orig 2004-02-22 10:18:23.000000000 +0100 +++ udev 2004-02-22 10:19:14.000000000 +0100 @@ -8,6 +8,12 @@ =20 [ -x $UDEV ] || exit 0 =20 +. /etc/default/udev + +if [ $mount =3D=3D "no" ]; then + exit 0 +fi + case "$(uname -r)" in 2.[012345].*) echo "udev requires a 2.6.x kernel, not started." --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=default-udev # file get copied to /etc/default/udev # mount on boot? MOUNT=yes --qlTNgmc+xy1dBmNv-- --Clx92ZfkiYIKRjnr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iEYEARECAAYFAkA4dacACgkQkz0vhQtHHRgePgCfQu1Im5YIhvn+N0/+Pje5ruLd tLYAoKGvi2wuYgxdxR42O5scuEd0h6mW =VsG9 -----END PGP SIGNATURE----- --Clx92ZfkiYIKRjnr-- ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel