rc.d: Eliminate some unnecessary non-POSIX constructs:

* set - ...
 * empty braces
 * ^ in character class
This commit is contained in:
Jilles Tjoelker 2011-11-08 23:02:32 +00:00
parent 31fdf3d6d2
commit e60150fafa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227366
3 changed files with 3 additions and 2 deletions

View File

@ -247,6 +247,7 @@ static_atm()
static_ipx()
{
:
}
ropts_init()

View File

@ -99,7 +99,7 @@ syscons_configure_keyboard()
*)
sc_init
echo -n ' keychange'
set - ${keychange}
set -- ${keychange}
while [ $# -gt 0 ]; do
kbdcontrol <${kbddev} -f "$1" "$2"
shift; shift

View File

@ -1638,7 +1638,7 @@ find_local_scripts_old () {
continue
zlist="$zlist $file"
done
for file in ${dir}/[^0-9]*.sh; do
for file in ${dir}/[!0-9]*.sh; do
grep '^# PROVIDE:' $file >/dev/null 2>&1 &&
continue
slist="$slist $file"