Fixed hash replace with a variable to the real hash
svn path=/nixos/trunk/; revision=18268
This commit is contained in:
parent
c0f732f079
commit
b0ba17873c
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ let
|
|||
mkdir -p /var/samba/locks /var/samba/cores/nmbd /var/samba/cores/smbd /var/samba/cores/winbindd
|
||||
fi
|
||||
|
||||
passwdFile="$(sed -n 's/^.*smb[ ]\+passwd[ ]\+file[ ]\+=[ ]\+\(.*\)/\1/p' /nix/store/nnmrqalldfv2vkwy6qpg340rv7w34lmp-smb.conf)"
|
||||
passwdFile="$(sed -n 's/^.*smb[ ]\+passwd[ ]\+file[ ]\+=[ ]\+\(.*\)/\1/p' ${configFile})"
|
||||
if [ -n "$passwdFile" ]; then
|
||||
echo 'INFO: creating directory containing passwd file'
|
||||
mkdir -p "$(dirname "$passwdFile")"
|
||||
|
|
Loading…
Reference in a new issue