From f2463372c9e35cf640f1b0ccede0314a239b0d25 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 1 Mar 2011 21:19:11 +0100 Subject: fix startup scripts, when variable is not set in /etc/rc.conf --- package/bkeymaps/files/kbd.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/bkeymaps') diff --git a/package/bkeymaps/files/kbd.init b/package/bkeymaps/files/kbd.init index ec8bad244..4aec7dffe 100644 --- a/package/bkeymaps/files/kbd.init +++ b/package/bkeymaps/files/kbd.init @@ -6,7 +6,7 @@ case $1 in autostop) ;; autostart) - [[ $kbd = NO ]] && exit 0 + test x"${kbd:-NO}" = x"NO" && exit 0 exec sh $0 start ;; start) -- cgit v1.2.3