/usr/share/sadms-2.0.15/_start.sh is in sadms 2.0.15.repack-0ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | #!/bin/bash
# bbou@ac-toulouse.fr
# 2007-06-24 09:07:14
# _start.sh
### P A R A M S
MYEXCEPTNSCD=
if [ "$1" == "-nonscd" ];then
export MYEXCEPTNSCD="True"
shift
fi
### I N C L U D E
. ./_include.sh
### S T A R T
function stripansiesc()
{
sed 's/\(\x1B\[[0-9]*[ABCDG]\)\|\(\x1B\[[0-9]*,[0-9]*[HfR]\)\|\(\x1B\[2J\)\|\(\x1B\[[0-9]*m\)\|\(\x1B\[[0-9]*\([;]\)\?[0-9]*\([;]\)\?[0-9]*[mH]\)//g' | sed 's/\(\x1B\[=[01]\?[h1]\?\)\|\(\x1B\[=[0-7],7[h1]\)\|\(\x1B\[?[7]\?[h1]\{,2\}\)\|\(\x1B\[[suK:]\)\|\(\x1B=\)//g'
}
# samba
echo "--------------------------------------------------------------------------------"
echo "START SAMBA DAEMONS"
echo "--------------------------------------------------------------------------------"
${SERVICE} ${WINBINDSERVICE} start | stripansiesc
${SERVICE} ${SAMBASERVICE} start | stripansiesc
if [ ! -z "${NMBSERVICE}" ]; then
${SERVICE} ${NMBSERVICE} start | stripansiesc
fi
# nscd
if [ -z "${MYEXCEPTNSCD}" ];then
echo "--------------------------------------------------------------------------------"
echo "START NSCD DAEMON"
echo "--------------------------------------------------------------------------------"
${SERVICE} ${NSCDSERVICE} start | stripansiesc
fi
|