Nom canonique pour le serveur de news
darcs-hash:20050908142750-f163d-6dc2a04154d7f6772855c22f1ba8aabb9e189af7.gz
This commit is contained in:
parent
457ac5285c
commit
6b88caeaf9
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ EDITION () {
|
|||
cp /var/spool/news/articles/$rep/$numero $tempF3
|
||||
chown $moderateur.$groupe $tempF3
|
||||
/bin/su $moderateur -c "$EDITOR $tempF3"
|
||||
(sleep 1 ; echo "mode reader" ; sleep 1 ; echo "group $newsgroup" ; sleep 1 ; echo post ; sleep 1 ; echo "Supersedes: $1" ; cat $tempF3 | egrep -v "^Message-ID:|^NNTP-Posting|^Path:|^X-Trace:|^X-Complaints-To:|^Xref:" ; echo '.' ; sleep 1 ; echo quit) | nc 138.231.136.6 119
|
||||
(sleep 1 ; echo "mode reader" ; sleep 1 ; echo "group $newsgroup" ; sleep 1 ; echo post ; sleep 1 ; echo "Supersedes: $1" ; cat $tempF3 | egrep -v "^Message-ID:|^NNTP-Posting|^Path:|^X-Trace:|^X-Complaints-To:|^Xref:" ; echo '.' ; sleep 1 ; echo quit) | nc 138.231.136.3 119
|
||||
rm -f $tempF3
|
||||
}
|
||||
|
||||
|
@ -91,7 +91,7 @@ CANCEL () {
|
|||
# echo -n 'starting inn... '
|
||||
# /bin/su news -c "/usr/lib/news/bin/ctlinnd go ''"
|
||||
|
||||
(sleep 1 ; echo "mode reader" ; sleep 1 ; echo "group $newsgroup" ; sleep 1 ; echo post ; sleep 1 ; echo "Control: cancel $1" ; echo "From: $moderateur@crans.org" ; echo "Subject: Moderation" ; echo "Newsgroups: $newsgroup" ; echo -e "\n" ; echo "This post has been moderated with news-cancel." ; echo '.' ; sleep 1 ; echo quit) | nc 138.231.136.6 119
|
||||
(sleep 1 ; echo "mode reader" ; sleep 1 ; echo "group $newsgroup" ; sleep 1 ; echo post ; sleep 1 ; echo "Control: cancel $1" ; echo "From: $moderateur@crans.org" ; echo "Subject: Moderation" ; echo "Newsgroups: $newsgroup" ; echo -e "\n" ; echo "This post has been moderated with news-cancel." ; echo '.' ; sleep 1 ; echo quit) | nc news.crans.org 119
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue