/usr/share/sadms-2.0.15/conf/unconfig-netlink.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 | #!/bin/bash
# bbou@ac-toulouse.fr
# 2004-09-29 17:19:43
# conf/unconfig-netlink.sh
### P A R A M S
### I N C L U D E S
. ./_include.sh
### M O D I F I E D F I L E S ...
skelprofile=.bash_profile
### ... W I T H A C C E S S
INST_UID=root
INST_GID=root
INST_MOD=644
### S O U R C E F I L E S ...
krb5conffile0=_${krb5conffile}
### S T A R T
# C L E A N U P / E T C / S K E L / . B A S H _ P R O F I L E
start=`grep -n '# sadms.begin' ${SKELDIR}/${skelprofile} | awk 'BEGIN{FS=":"}{print $1 }'`
end=`grep -n '# sadms.end' ${SKELDIR}/${skelprofile} | awk 'BEGIN{FS=":"}{print $1 }'`
if [ ! "${start}" == "" ] && [ ! "${end}" == "" ];then
echo "+cleanup ${SKELDIR}/${skelprofile} : remove lines `expr ${start} - 1` to `expr ${end} + 1`"
head -`expr ${start} - 1` ${SKELDIR}/${skelprofile} > ${TMPDIR}/${skelprofile}
tail +`expr ${end} + 1` ${SKELDIR}/${skelprofile} >> ${TMPDIR}/${skelprofile}
echo "install ${skelprofile} to ${SKELDIR}"
${INSTALL} -o ${INST_UID} -g ${INST_GID} -m ${INST_MOD} ${TMPDIR}/${skelprofile} ${SKELDIR} > /dev/null
rm -f ${TMPDIR}/${skelprofile}
fi
# C L E A N U P X I N I T R C / X S E S S I O N
echo "+remove ${X11DIR}/${XINITRCDIR}/${XINITRCCIFSMOUNT}"
if [ -f "${X11DIR}/${XINITRCDIR}/${XINITRCCIFSMOUNT}" ]; then
rm -f "${X11DIR}/${XINITRCDIR}/${XINITRCCIFSMOUNT}"
fi
|