mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
rc.d: Eliminate some unnecessary non-POSIX constructs:
* set - ... * empty braces * ^ in character class
This commit is contained in:
parent
31fdf3d6d2
commit
e60150fafa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227366
@ -247,6 +247,7 @@ static_atm()
|
||||
|
||||
static_ipx()
|
||||
{
|
||||
:
|
||||
}
|
||||
|
||||
ropts_init()
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user