Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 64726 Details for
Bug 93982
New ebuild: net-misc/pglinux
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pgupdate
pgupdate (text/plain), 1.24 KB, created by
Daniel Harper
on 2005-07-30 04:39:52 UTC
(
hide
)
Description:
pgupdate
Filename:
MIME Type:
Creator:
Daniel Harper
Created:
2005-07-30 04:39:52 UTC
Size:
1.24 KB
patch
obsolete
>#!/bin/bash >#Copyright (C) 2005 Daniel Harper >#This program is free software; you can redistribute it and/or >#modify it under the terms of the GNU General Public License >#as published by the Free Software Foundation; either version 2 >#of the License, or (at your option) any later version. > >PGDIR=/usr/share/peerguardian > > >echo -e "PeerGuardian Update Script\n" >cd $PGDIR > >#check status of peerguardian > >echo -n "Checking status of PeerGuardian" > > >if /etc/init.d/peerguardian status | grep -q "stopped"; then > echo "....Stopped" > status="1" >else > echo "....Started, Stopping" > /etc/init.d/peerguardian stop > >fi > >echo -e "\nRemoving Old Files..." > >#check if files exist, before attempting to delete them > >if [ -f $PGDIR/p2p.p2b.p2p ] >then > rm -v p2p.p2b.p2p >fi > >if [ -f $PGDIR/p2p.p2b.gz ] >then > rm -v p2p.p2b.gz >fi > >if [ -f $PGDIR/p2p.p2b ] >then > rm -v p2p.p2b >fi > >echo -e "\nGetting new blocklist..." >wget -cnv blocklist.org/p2p.p2b.gz > > >if [ ! -f $PGDIR/p2p.p2b.gz ] >then > echo -e "ERROR: BLOCKLIST NOT FOUND! QUIT\n" > exit >fi > >gunzip -q p2p.p2b.gz > > >echo -e "\nUpdating PeerGuardian with new blocklist" >peerguardnf -n p2p.p2b > >if [ "$status" == "1" ]; then >echo "PeerGuardian is not running" >else >/etc/init.d/peerguardian start >fi > >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 93982
:
60933
|
60934
|
60935
|
60936
|
61020
|
61214
| 64726 |
70582
|
71716
|
71719
|
71772
|
71776
|
299179
|
299181