projects
/
hdw-linux
/
hdw-linux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added mea3d & sdl-mixer package
[hdw-linux/hdw-linux.git]
/
packages
/
hackbard
/
sendmail
/
sendmail.setup
1
setup_block() {
2
useradd -u 2000 -g mail -d /var/mail smmsp || true
3
chmod 1777 /tmp
4
chmod 1777 /var/mail
5
mkdir -p /var/spool/mqueue
6
chown smmsp /var/spool/clientmqueue
7
[ -f /var/spool/clientmqueue/sm-client.st ] && \
8
chown smmsp /var/spool/clientmqueue/sm-client.st
9
}
10
11
uninstall_block() {
12
userdel smmsp || true
13
}