simple/ddm/cfg/mnttab.sh

11 lines
132 B
Bash

#!/bin/sh
for i in /etc/mnttab /etc/mtab
do
if [ -f $i ]
then
echo '#define PATH_MNTTAB "'$i'"'
exit 0
fi
done
exit 1