39 |
local serial="${CLASS_ARGV[0]}" |
local serial="${CLASS_ARGV[0]}" |
40 |
local user="${CLASS_ARGV[1]}" |
local user="${CLASS_ARGV[1]}" |
41 |
|
|
42 |
control_client "${serial}" set system.console "${user}" |
control_client "${serial}" set system.console "\"${user}\"" |
43 |
} |
} |
44 |
|
|
45 |
help_system_passwd() |
help_system_passwd() |
81 |
local serial="${CLASS_ARGV[0]}" |
local serial="${CLASS_ARGV[0]}" |
82 |
local variable="${CLASS_ARGV[1]}" |
local variable="${CLASS_ARGV[1]}" |
83 |
|
|
84 |
control_client "${serial}" get system.cmdline "${variable}" |
control_client "${serial}" get system.cmdline "\"${variable}\"" |
85 |
} |
} |
86 |
|
|
87 |
help_system_arch() |
help_system_arch() |
115 |
then |
then |
116 |
decho "pass is 'NULL' for user '${user}', ignoring" |
decho "pass is 'NULL' for user '${user}', ignoring" |
117 |
else |
else |
118 |
control_client "${serial}" set system.passwd "${user}" "${pass}" |
control_client "${serial}" set system.passwd "\"${user}\"" "\"${pass}\"" |
119 |
fi |
fi |
120 |
done |
done |
121 |
} |
} |