]> git.ipfire.org Git - thirdparty/dracut.git/commit - modules.d/99base/init
Modify getarg to be slightly more useful.
authorVictor Lowther <victor.lowther-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Thu, 26 Feb 2009 02:32:40 +0000 (18:32 -0800)
committerHarald Hoyer <harald@redhat.com>
Wed, 4 Mar 2009 15:54:31 +0000 (16:54 +0100)
commitd05f3c4354ce867ecc5d46f8976ef25e5186007f
tree5c5f05c588aedcb4248949a3a0a52a22d436c599
parenta08c1f452a988faa919ee04e6456641fad53f2cd
Modify getarg to be slightly more useful.

If the last character in the argument to search for is "=", then
getarg will echo all the text after the = as well as returning 0 or 1 depending
on whether or not the arg is found.
Otherwise, getarg will jsut return 0 if the exact test of the argument is found,
1 otherwise.
hooks/mount-partition.sh
hooks/resume.sh
init
modules/95udev-rules.sh