This file is indexed.

/usr/share/sadms-2.0.15/conf/unconfig-smb.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
#!/bin/bash
# bbou@ac-toulouse.fr
# 2006-08-25 09:00:21   
# conf/unconfig-smb.sh

### P A R A M S
# none

### I N C L U D E S
. ./_include.sh

### M O D I F I E D   F I L E S ...
# none : smb.conf, user.map are not removed

### S T A R T

# S E R V I C E
echo "+stop ${SAMBASERVICE}"
if ${SERVICESTATUS} ${SAMBASERVICE} > /dev/null; then
	${SERVICE} ${SAMBASERVICE} stop > /dev/null
fi

# S E R V I C E  A U T O S T A R T
echo "+disable ${SAMBASERVICE} automatic startup"
${SERVICEREMOVE} ${SAMBASERVICE} > /dev/null 2> /dev/null

if [ ! -z "${NMBSERVICE}" ]; then

	# S E R V I C E
	echo "+stop ${NMBSERVICE}"
	if ${SERVICESTATUS} ${NMBSERVICE} > /dev/null; then
		${SERVICE} ${NMBSERVICE} stop > /dev/null
	fi

	# S E R V I C E  A U T O S T A R T
	echo "+disable ${NMBSERVICE} automatic startup"
	${SERVICEREMOVE} ${NMBSERVICE} > /dev/null 2> /dev/null
fi
exit 0