Skip to content
Snippets Groups Projects

Write userShell configuration

Closed Ghost User requested to merge (removed):fhdk-set-shell-cli into master
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -148,6 +148,9 @@ write_users_conf(){
echo "doReusePassword: false" >> "$conf" # only used in old 'users' module
echo "availableShells: /bin/bash, /bin/zsh" >> "$conf" # only used in new 'users' module
echo "avatarFilePath: ~/.face" >> "$conf" # mostly used file-name for avatar
if [[ -n "$user_shell" ]]; then
echo "userShell: $user_shell" >> "$conf"
fi
}
write_packages_conf(){
Loading