mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 21:28:48 +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"
|
"$ESCALATION_TOOL" smbpasswd -a "$SAMBA_USER"
|
||||||
|
|
||||||
# Configure Samba settings
|
# Configure Samba settings
|
||||||
"$ESCALATION_TOOL" sh -c "cat > $SAMBA_CONFIG" <<EOL
|
"$ESCALATION_TOOL" tee "$SAMBA_CONFIG" > /dev/null <<EOL
|
||||||
[global]
|
[global]
|
||||||
workgroup = WORKGROUP
|
workgroup = WORKGROUP
|
||||||
server string = Samba Server
|
server string = Samba Server
|
||||||
|
|
Loading…
Reference in New Issue
Block a user