Initial Commit

This commit is contained in:
Frank John Begornia
2019-11-04 17:12:11 +08:00
commit 659ad69995
125 changed files with 17296 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/bash
#Fake sendmail script, adapted from:
#https://github.com/mrded/MNPP/blob/ee64fb2a88efc70ba523b78e9ce61f9f1ed3b4a9/init/fake-sendmail.sh
numPath="/tmp/fakemail"
mkdir -p $numPath
if [ ! -f $numPath/num ]; then
echo "0" > $numPath/num
fi
num=`cat $numPath/num`
num=$(($num + 1))
echo $num > $numPath/num
name="$numPath/letter_$num.txt"
while read line
do
echo $line >> $name
done
chmod 777 $name
/bin/true