Re: [RFC PATCH 4/9] cmdline: cleanup handling and block: handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-06-01 at 00:21 -0400, David Dillow wrote:
> Now init checks that we understood the root= option, and can
> act upon it, presenting and error if not. Also, clean up the
> generation of udev rules such that we don't require /bin/echo.
> diff --git a/modules.d/95rootfs-block/block-genrules.sh b/modules.d/95rootfs-block/block-genrules.sh
> index 47083df..5c3f957 100755
> --- a/modules.d/95rootfs-block/block-genrules.sh
> +++ b/modules.d/95rootfs-block/block-genrules.sh
> @@ -1,6 +1,10 @@
> -if [ "${root#/dev/}" != "$root" ]; then
> +#!/bin/bash # for highlighting

Please don't do this.  

> +++ b/modules.d/95rootfs-block/parse-block.sh
> @@ -0,0 +1,16 @@
> +#!/bin/bash # for highlighting

Or this

> diff --git a/modules.d/95rootfs-block/parse-root-opts.sh b/modules.d/95rootfs-block/parse-root-opts.sh
> index 3a8b1a6..dc0ae6d 100755
> --- a/modules.d/95rootfs-block/parse-root-opts.sh
> +++ b/modules.d/95rootfs-block/parse-root-opts.sh
> @@ -1,14 +1,6 @@
> -#!/bin/sh
> +#!/bin/bash # for highlighting

And so on...

Which editor are you using that highlights bash but not sh correctly?

-- 
Victor Lowther
RHCE# 805008539634727
LPIC-2# LPI000140019

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux