| |
| |
| |
|
Page: 1 2
Comments:
<0> hrm <0> /usr/pkg/sbin/download-vulnerability-list has failed in /etc/daily.local for the past 3 days <1> failed how? <0> can't say. <1> so how do you know it failed? <0> because it exited with nonzero <0> #!/bin/sh <0> s=0 <0> if [ -x /usr/pkg/sbin/download-vulnerability-list ]; then <0> /usr/pkg/sbin/download-vulnerability-list 2>&1 >> /dev/null && s=1 <0> if [ $s -eq 1 ]; then <0> echo "Downloaded new vulnerability list" <0> else <0> echo "Problem downloading vulnerability list" <0> fi <0> fi
<1> wow, that's smart code. <1> s,/dev/null,/tmp/somefile, <0> heh, no making fun of my script-fu <1> and then cat /tmp/somefile && rm /tmp/somefile in the problem case <0> seriously, you don't like the code? :( <2> /win 4 <2> :( <1> abe: it seems pretty much ok, but throwing away the error output is not useful - safe it. <0> yeah, I'll do it for tonight's run <1> save <0> it worked just now, so I dunno what's going on <1> who knows. <0> thanks. <1> sure. <0> is $$ the PID? <1> yes <1> pid of the shell <0> cool - don't want tmpfile badness. <0> perhaps could have a race condition but it's a single-user box <0> ok <0> #!/bin/sh <0> s=0 <0> rm -f /tmp/dvl.$$ <0> if [ -x /usr/pkg/sbin/download-vulnerability-list ]; then <0> /usr/pkg/sbin/download-vulnerability-list 2>&1 >> /tmp/dvl.$$ && s=1 <0> if [ $s -eq 1 ]; then <0> echo "Downloaded new vulnerability list" <0> else <0> echo "Problem downloading vulnerability list" <0> cat /tmp/dvl.$$ <0> fi <0> fi <1> rm /tmp/dvl.$$ <0> no -f? <1> why leave the file behind? <0> oh. at the end, you mean <1> next time this is run, the shell has a new PID and it won't nuke the old file but a non-existant one instead <1> yes <0> yeah, good point. <0> got it, but made it -f <0> just on the off chance it wasn't created <1> whatever <3> hello, can anyone help me with this error i get when trying to set an ip.. ifconfig: SIOCAIFADDR: Input/output error <3> command was, ifconfig iwi0 inet 192.168.1.5 netmask 255.255.255.0 <1> as root? <3> yes <1> no idea. <0> did you google, o? <0> check this: http://mail-index.netbsd.org/current-users/2005/04/07/0007.html <4> anyone have a psp? <5> anyone run netbsd on psp? <6> psp can't run <4> I bought one today <4> I'm not entirely sure of the "recommended" way of copying music / videos to it <6> netbsd can it? <0> can someone please advise on a nontechnical question? <6> sure <0> I don't understand the benefits of RSS aggregators <7> benefits over what? <7> over not using rss at all?
<0> yeah <7> well, I guess people like to be able to have feeds of info all in the one place <0> how many feeds before it's worthwhile to use an aggregator? <7> rather than have to visit X number of sites to see what's happening? <7> that's perhaps the most common usage.. <7> dunno, I don't use rss <0> there are only 3 sites I visit regularly <7> but I think that's why people like them <0> (that have rss feeds) <7> then yeah, useless for you <0> ok <0> thanks. <8> RSS has to be the working of FOX or CNN <8> i swear to god <8> quantify all news into a 15 second blip <9> morning <10> ~65 <10> sorry <11> noonsen <12> hola folks <13> Hello <13> may I message you sub? <12> feel free to ask questions in channel, unless they are of a personal nature <14> http://news.com.com/2100-1028_3-6091942.html?part=rss&tag=6091942&subj=news <14> lol <14> backdoors <12> i don't have time to read this, but don't we shake our finger when China does this? <11> MadAtWork: hypocrisy is of all times and of all people <14> Require any manufacturer of "routing" and "addressing" hardware to offer upgrades or other "modifications" that are needed to support Internet wiretapping. <14> so if I build a bsd gateway/router on a pc does that mean I have to setup a backdoor? <14> cause that would be quit insane <15> Yes:) <11> ElevenBra: and mail root@fbi.gov with the details for access to it :) <14> TGEN: Ill just post it on my blog <11> hehe <6> postings@ic.fbi.gov actually :D <15> Actually they require a backdoor. No need to email. Install PHP on the router and you'll be compliant <2> hah <16> boo <17> Heyheywwwwwwwww <18> anyone knows what the difference is between active and p***ive cooling ? <18> this is with respect to ACPI <9> active <=> with a fan ? <9> bbl <15> p***ive cooling is when you put your heat emitting device (HEAD) in liquid nitrogen to keep cool. Active cooling is when you use a fan (old technology) <18> :) <18> morning sub <15> Morning dsr <19> Joan was quizzical, studied metaphysical... <20> why can't we just admit: we won't give pause until the blood is flowing.. <11> dsr_: what _aki said :) <21> haha <22> LO <22> HY my Gurus <22> finally i get runnig it on my jornada <22> hpcarm720 <11> are you starmax? <22> no <11> I suspect so <22> sorry no <22> @tgen are BSD developper?? <22> does one of you have a netbsd.org e-mail??? <15> is yoru question mark key stuck, stf? <22> no and my english to lazy to understand sorry <22> im french <22> i just want to speak to developper
Return to
#netbsd or Go to some related
logs:
#goal awe sql2005
#firebird malaybalay words and language #computers #bsd cmweiss charlie bypass ban ra2 tv3d AND dual monitors #computers
|
|