mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-23 20:09:44 +00:00
replace subshell usage with alternative (#624)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
This commit is contained in:
parent
83a61a093f
commit
5dc5fb5995
|
@ -112,7 +112,7 @@ setup_samba() {
|
|||
"$ESCALATION_TOOL" smbpasswd -a "$SAMBA_USER"
|
||||
|
||||
# Configure Samba settings
|
||||
"$ESCALATION_TOOL" sh -c "cat > $SAMBA_CONFIG" <<EOL
|
||||
"$ESCALATION_TOOL" tee "$SAMBA_CONFIG" > /dev/null <<EOL
|
||||
[global]
|
||||
workgroup = WORKGROUP
|
||||
server string = Samba Server
|
||||
|
|
Loading…
Reference in New Issue
Block a user