Recent Posts
None | 13 sec ago
None | 20 sec ago
None | 32 sec ago
None | 33 sec ago
ASM (NASM) | 41 sec ago
MySQL | 42 sec ago
HTML | 42 sec ago
C# | 53 sec ago
None | 54 sec ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By Anonymous on the 9th of Feb 2010 11:35:07 PM
Download |
Raw |
Embed |
Report
logger -p 5 "How do I execute .sh - Test"
if [ -z $(pidof mini_snmpd) ] ; then
chmod +x /cifs1/mini_snmpd
/cifs1/mini_snmpd -i vlan1 > /dev/null 2>&1 &
sleep 1
logger -p 5 "SNMPD: started with pid: $(pidof mini_snmpd)."
else
kill $(pidof mini_snmpd)
sleep 1
logger -p 5 "SNMPD: killed with pid: $(pidof mini_snmpd)."
fi
Submit a correction or amendment below.
Make A New Post