Article 59DMH Issue with init.d script failing with _: not found

Issue with init.d script failing with _: not found

by
CaptainMart
from LinuxQuestions.org on (#59DMH)
I'm running a SliTaz 4.0 box which was running Samba; one of the PCs on the network is now running Windows 10 meaning I require SMB3 support. I've installed Samba 4.6.14 but when I try to start it from the init.d/samba script, it throws several errors all of the form Quote:
_: not found
Looking at the original samba init.d script, it didn't use the form
Code:DESC="$(_ '%s server' Samba)"but instead used Code:DESC="Samba server"So it is clear why the original script ran OK, but what's causing the updated one to fail; has there been a change to the shell that might cause this?latest?d=yIl2AUoC8zA latest?i=gzQa4voztro:8T4tHPVFtsc:F7zBnMy latest?i=gzQa4voztro:8T4tHPVFtsc:V_sGLiP latest?d=qj6IDK7rITs latest?i=gzQa4voztro:8T4tHPVFtsc:gIN9vFwgzQa4voztro
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments