SVN: rc-scripts/trunk/rc.d/init.d/cryptsetup

Jakub Bogusz qboosh at pld-linux.org
Thu Nov 13 21:24:08 CET 2008


On Mon, Nov 10, 2008 at 01:15:32AM +0100, glen wrote:
> Author: glen
> Date: Mon Nov 10 01:15:32 2008
> New Revision: 9973
> 
> Modified:
>    rc-scripts/trunk/rc.d/init.d/cryptsetup
> Log:
> - no bashism
> 
> Modified: rc-scripts/trunk/rc.d/init.d/cryptsetup
> ==============================================================================
> --- rc-scripts/trunk/rc.d/init.d/cryptsetup	(original)
> +++ rc-scripts/trunk/rc.d/init.d/cryptsetup	Mon Nov 10 01:15:32 2008
> @@ -25,13 +25,13 @@
>  				mode=$(ls -l "$key" | cut -c 5-10)
>  				owner=$(ls -l $key | awk '{ print $3 }')
>  				if [ "$mode" != "------" ] && ! key_is_random "$key"; then
> -					echo $"INSECURE MODE FOR $key"
> +					echo "INSECURE MODE FOR $key"
>  				fi
>  				if [ "$owner" != root ]; then
> -					echo $"INSECURE OWNER FOR $key"
> +					echo "INSECURE OWNER FOR $key"
>  				fi
>  			else
> -				echo $"Key file for $dst not found, skipping"
> +				echo "Key file for $dst not found, skipping"
>  				ret=1
>  				continue
>  			fi
[...]

Don't remove i18n, use nls function instead.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list