#2101 Le 16/06/2009, à 03:05
- herberts
Re : Topic des couche tard (23) !
Allez hop, post à points et bonne nuit.
Hors ligne
#2102 Le 16/06/2009, à 03:07
- tshirtman
Re : Topic des couche tard (23) !
@phil: oui j'ai pas précisé, le but est d'être le moins mouillé possible, même si je ne suis pas non plus celui que ça dérange le plus...
@rmy: en considérant des vitesses physiquement atteignables seulement xD.
Hors ligne
#2103 Le 16/06/2009, à 03:12
- guguscat
Re : Topic des couche tard (23) !
je crois que t'avais pas besoin de te forcer...
et moi qui croyait que guguscat était difficile à lire bourré...
Puisque c'est ca je commence à boire ma bouteille de rosé !
Un problème non résolu ? Indiquez le en insultant les gens qui tentent de vous aider.
Hors ligne
#2104 Le 16/06/2009, à 03:14
- pipou24
Re : Topic des couche tard (23) !
Bonne nuit.
Et restez bien au sec.
Non geek et fier de l'être. ㋡
Hors ligne
#2105 Le 16/06/2009, à 03:21
- juju_theseaman
Re : Topic des couche tard (23) !
spontanément je dirais courir très vite...
Ça dépend de la pluie aussi... et de la vitesse de course
Je me souviens avoir essayé d'accélérer en zodiac sous un orage, et du coup au lieu d'être trempé sur le dos seulement, j'avais tout le devant mouillé. Bon c'était de la très grosse pluie (je voyais pas grand chose devant :s), et j'allais vite.
Bon, ce coup la j'arrête le pc et ej vais au pieu.
Hors ligne
#2106 Le 16/06/2009, à 03:55
- Il Palazzo-sama
Re : Topic des couche tard (23) !
plop
Archer, mais qui installe des Ubuntu et des Debian à tour de bras quand même dans son entourage.
Hors ligne
#2107 Le 16/06/2009, à 03:55
- Il Palazzo-sama
Re : Topic des couche tard (23) !
plop
Archer, mais qui installe des Ubuntu et des Debian à tour de bras quand même dans son entourage.
Hors ligne
#2108 Le 16/06/2009, à 04:32
- guguscat
Re : Topic des couche tard (23) !
Une bouteille plus tard...
Bonne nuit all !
Un problème non résolu ? Indiquez le en insultant les gens qui tentent de vous aider.
Hors ligne
#2109 Le 16/06/2009, à 04:35
- diodio13fr
Re : Topic des couche tard (23) !
█▒▒▒░░
Hors ligne
#2110 Le 16/06/2009, à 05:37
- herberts
Re : Topic des couche tard (23) !
Me revoilà . Nan , en vrai je passe juste 5 minutes pour accompagner ma douce qui a du se lever tôt pour cause de grosse réunion avec les chefs, toussa, à Nantes ce matin. Et je repart finir ma nuit après.
Hors ligne
#2111 Le 16/06/2009, à 06:28
- samυncle
Re : Topic des couche tard (23) !
Hello world
Hors ligne
#2112 Le 16/06/2009, à 06:40
- compteur-couche-tard
Re : Topic des couche tard (23) !
Scores totaux, depuis le début:
1) 4700 Tshirtman
2) 4671 Rmy
3) 4467 la 'tite gogole
4) 3755 inbox
5) 3525 herberts
6) 3095 diodio13fr
7) 3043 pipou24
8) 3028 Nizarus
9) 2945 Chimai
10) 2296 cat_loic
11) 2185 guguscat
12) 1960 necroluckyboy
13) 1910 Toineo
14) 1904 Mornagest
15) 1862 sakul
16) 1794 danychou56
17) 1771 edge_one
18) 1719 pmd
19) 1600 jamais content
*** Vétéran des couche-tard, héros de la première guerre, invaincu avant retraite ***
20) 1544 Quelqu'un
****************************************************************************************
21) 1537 milkyway
22) 1479 Ouranos999
23) 1473 Peat.hagore
24) 1463 Kanor
25) 1416 $ianur391
26) 1367 kinouchou
27) 1240 Kamy
28) 1218 Stargaza
29) 1121 Bartholomeus
30) 1099 HymnToLife
31) 999 mathieuI
32) 995 lekokeliko
33) 974 philarmonie
34) 942 Il Palazzo-sama
35) 929 YS
36) 921 pepekeke
37) 912 wiscot
38) 906 dada55
39) 879 Trucutu
40) 862 millibe
41) 838 Led Shark 24 kin 204
42) 799 Titou
43) 771 Chompitiarve
44) 767 spatz
45) 753 Foch
46) 752 Link31
47) 719 sirius10
48) 680 M0rbidAngel
49) 656 samuncle
50) 621 Zeibux
51) 616 Timbolchevik
52) 597 Kous-Kous!
53) 589 U-topic
54) 585 El Pensador
55) 568 phoenix_001
56) 563 Snipe
57) 554 Irgenux
58) 553 chilperik
59) 535 MattX
60) 508 spinoziste
61) 492 froli
62) 455 Jerome33
63) 428 zarakaï
64) 424 ericomagic
65) 421 CasseTaTele
65) 421 superpapalolo
67) 415 Traaf
68) 384 ceric
69) 379 emilio_do_brasil
70) 367 Hells_dark
71) 352 gaju
72) 344 fde
73) 321 pierguiard
74) 294 JeSuS_Is_Back
74) 294 Nalini
76) 293 Corentin38
77) 291 juju_theseaman
78) 290 Kepinot
79) 283 Ch3mist
80) 281 LeMMMy
81) 273 She0gorath
82) 264 Aganim07
83) 262 Pashupati
84) 250 Askyel
85) 241 Alexises
86) 232 andrelec1
87) 226 spit17
88) 217 Silversun
88) 217 Ultim4T0m
90) 214 Skippy le Grand Gourou
91) 207 Ed
92) 187 sanguinarius
93) 186 wam_
94) 183 Mori
95) 178 ezaeza
96) 177 Chewbacca
97) 176 Kunben
98) 159 Pwazon
99) 155 redisded
100) 152 Keuz-Pon
101) 146 Nicoz
102) 145 Okanda
103) 144 rhaamo
104) 142 0xdeadbeef
105) 139 Pouipoui
106) 138 Asphaltsnatch
107) 137 Duorok
108) 136 Plonk
109) 134 jaipasdepseudo
109) 134 philpep-tlse
111) 129 hind_flo
112) 125 Titouan
113) 124 Epehj
114) 123 netza
114) 123 Dy
114) 123 K -Lune noire
117) 122 PRQT83
117) 122 seb_42
119) 116 Lellex
120) 115 Héliade
121) 112 gulp
122) 111 lesauc
122) 111 FxDarkplayer
124) 110 sylvainvh
124) 110 BiBou258
124) 110 Huitzilopochtli
127) 108 Père Ubuntu
128) 106 GottferDamnt
129) 105 marteo
130) 98 Oliv49
131) 97 Yannick-LM
131) 97 Julius
133) 95 PetitScarabé
134) 94 Loutre
135) 93 Grand_Grunt
136) 92 dreadlocks
137) 90 zelicopter
137) 90 Benjdev
139) 89 snoopkill
140) 84 bourrinux
140) 84 Slowbrain
142) 81 Bedbug105
142) 81 lykhead
144) 80 Struddel
145) 76 The Marauder
146) 72 damieng
147) 70 Coxx
148) 69 Abraracourcix
148) 69 Bunutu
150) 67 KarlP
151) 66 Respawner
152) 65 2fast4u
152) 65 Oo_NeWGie
154) 62 LeJediGris
155) 61 Crashforburn
156) 60 Fake
156) 60 Bumblefou
156) 60 Neros
159) 59 agarwood
160) 57 Random
161) 56 byby31
161) 56 FCDI
161) 56 Powerpicton
164) 53 andso
165) 52 winael
166) 50 procrastin
166) 50 Thomas
168) 49 Phavet
169) 48 monsieur moche
170) 46 brakbabord
170) 46 k0s
170) 46 109
170) 46 Jpaul
170) 46 Ghost33
175) 45 searcher
176) 44 Yannick_LM
177) 43 Christouf
178) 42 n3o51
178) 42 Stopher
178) 42 Remink
178) 42 faune0
182) 41 pOPeY_tGl
183) 40 SuperSplash
183) 40 Ban
183) 40 Delleck
183) 40 Noé
183) 40 Digger
188) 39 Pitou
189) 38 Deblux
189) 38 marvingreens
189) 38 Bobbybionic
192) 34 Lexdu
192) 34 Walkyrie
192) 34 eric63
192) 34 Veterini
196) 33 Erithacula42
196) 33 alaxa27
198) 32 Eccoh
198) 32 pixi-pix
198) 32 gartrog
198) 32 Tomtom
198) 32 Rogan77
203) 31 Xbright
204) 30 tecjas
204) 30 Oublieuse
204) 30 wolfpack
204) 30 tartifletteman
204) 30 tonymainaki
204) 30 LinuXp0wer
204) 30 Jojolafrite
204) 30 petrus_lt
204) 30 keewin
213) 29 Vindev_HELL84
214) 28 Lagierl
215) 27 Puppet-master
215) 27 raphael08
217) 26 Vincent89
217) 26 apwal
217) 26 likesatan
217) 26 Argael
221) 25 Eugene Cernan
221) 25 Haplo
221) 25 Snake046
224) 24 Devil_Weapon
224) 24 Xxc
226) 23 yvannb
226) 23 Yanightmare
228) 22 Blakesnake
228) 22 gilir
228) 22 Thanos78
228) 22 _Balooo
232) 21 Sauvagerie
232) 21 Ted_bundy
232) 21 Cyrille
232) 21 JoNas-fr
232) 21 systeme1
237) 20 Nescafi
237) 20 Infinity
237) 20 Nicorider
237) 20 Ccil
237) 20 Andrei
237) 20 Lithrel
237) 20 lenny64600
237) 20 Poux
237) 20 Bito
237) 20 Minus
237) 20 Donskoie
237) 20 Fishbone
237) 20 Vaesoli
237) 20 Palmpeg
237) 20 Nii
237) 20 Shura
237) 20 SkeRoy
237) 20 Markimarca
237) 20 max_naheulbeuk
237) 20 Le Psykopat
237) 20 Kevinlight
237) 20 Alenaze
259) 19 utodeb
259) 19 corny
259) 19 Craquos
259) 19 Ponsfrilus
263) 18 test456
264) 17 Dilon
264) 17 El_hazard
264) 17 NewsUbuntu62
264) 17 Chuck Norris
264) 17 Le Rouge
269) 16 Garthh
269) 16 Archange
269) 16 Bumble_cat
269) 16 Di@bl@l
269) 16 Subite
269) 16 Mandarb
269) 16 fred66100
269) 16 Onlynux
269) 16 brutor
269) 16 nozof
279) 15 nohackman
279) 15 Shrat
279) 15 Thib
279) 15 Mcpaul34
279) 15 Jisee
279) 15 Bill Gates
285) 14 faustus
285) 14 yurek
287) 13 Akilar
287) 13 roxnin
289) 12 Natoux
289) 12 slasher-fun
289) 12 pix
289) 12 DerKraKen
289) 12 sephiroth2
289) 12 SkyLinux
289) 12 Bee_Geeks
289) 12 linux66
289) 12 natheo
298) 11 Bioskop
298) 11 koshie666
298) 11 Jérémie78
298) 11 tinkiet
298) 11 lepetit
298) 11 Michel2652
304) 10 Elfenomeno
304) 10 Atrolivier
304) 10 Noar12
304) 10 iDove
304) 10 Etenil
304) 10 Tramway
304) 10 Samonios
304) 10 cindrivani
304) 10 nonolerobot
304) 10 spermo
304) 10 Oborandy
304) 10 Fischertank
304) 10 Dadou
304) 10 MrJey
304) 10 Kjbstar
304) 10 saelyx
304) 10 eLidzer
304) 10 siden
304) 10 Alias HM
304) 10 Youenn
304) 10 Skateinmars
304) 10 Rhum1
304) 10 Richisinpiano
304) 10 Koolfy
304) 10 Ant1
304) 10 h-ubuntu
304) 10 SneA
304) 10 massinissa
304) 10 goldangel
304) 10 illovae
304) 10 bakabakabaka
304) 10 Phixme
304) 10 Mehdicherti
304) 10 Pokemon_JOJO
304) 10 djaweed
304) 10 seppi
304) 10 kiruko
304) 10 Scalp
304) 10 Dr:)py
304) 10 Medieval__Times
304) 10 lovubuntu0
304) 10 metal_jerem
304) 10 Adruna
304) 10 LeStan
304) 10 Antaga
304) 10 Miles prower
304) 10 Toscan
304) 10 H4nnibal
304) 10 RonaldGomez
304) 10 MattMagnus
304) 10 Lululaglue
304) 10 Luckynow
304) 10 MrZeroo00
304) 10 Zelfy
304) 10 Lenwe_88
304) 10 Flew
304) 10 Ner0lph
304) 10 Bibungle
304) 10 luz
304) 10 Madden
304) 10 Chris-vip
304) 10 Manuelito
304) 10 comont.n
304) 10 Gostatino -
304) 10 ForgetTheNorm
304) 10 EnjoyAspirine
304) 10 Ivanovitch
304) 10 tiky
304) 10 ivanov69
304) 10 General Antivirus
304) 10 Cougar
304) 10 Thespy68
304) 10 BaT0
304) 10 GrInDcOrE
304) 10 fOls
304) 10 Titi38
304) 10 Soclix
304) 10 Jacen
304) 10 slkc
304) 10 #hehedotcom\'isback
304) 10 sirlexonarkz
304) 10 Lmartin76
304) 10 teter
304) 10 Frezi
304) 10 piero
304) 10 cyril_remy
304) 10 thanatonpatisas1
391) 9 captain
391) 9 giliam
391) 9 The_mon
391) 9 Cyman
391) 9 Bapoumba
391) 9 hello202
391) 9 thomas01
391) 9 Slystone
391) 9 THS31
391) 9 Compteur_couche_tards
401) 8 eagle1792
401) 8 Niho
401) 8 CHUCKYCHUCK
401) 8 miorx
401) 8 Pingu63
401) 8 theblood
401) 8 chuck norris 2.0
408) 7 PhilippeP
408) 7 DavidPi
408) 7 Tnjiz
411) 6 zebassprophet
411) 6 Mahabtux
411) 6 Gromly
411) 6 Seve
411) 6 ddmdllt
411) 6 Anbreizh
411) 6 xorg62
411) 6 Fabien
411) 6 Roidelapluie
411) 6 Efhache84
411) 6 Blurg
411) 6 Fyzmesa
411) 6 Felixos
411) 6 Doodz
411) 6 Le Mérou
411) 6 Mathieu147
411) 6 benalors
411) 6 Azariel
411) 6 Oliver82
411) 6 OdYx
411) 6 L'autre
411) 6 Ludox
411) 6 Redsectors
411) 6 Lost-in-the-shell
411) 6 Marcopilon
411) 6 Mesmento
411) 6 Beware
411) 6 Jaywax
411) 6 Mericoi
411) 6 Hibountu
411) 6 Racoon97
411) 6 Abf
411) 6 Dark-Sham
411) 6 quentin_
411) 6 Deathtiny42
411) 6 mimilus
411) 6 pseudodevingcinqcaractere
411) 6 magiccerbere
411) 6 Wapush
411) 6 mikki
451) 5 Yann
451) 5 Odin68
451) 5 niam0r
451) 5 lunis
451) 5 Sidney_v
451) 5 lagaf
451) 5 Bakalegum
451) 5 Nirado
451) 5 Franec
451) 5 MickTaiwan
451) 5 ToY
451) 5 andredebaraque
451) 5 awala
451) 5 Nintendark
451) 5 lookkcn
451) 5 pouf
451) 5 Syldeb35
451) 5 ppmt
451) 5 benmic
451) 5 Nigo
451) 5 david1234
451) 5 Atok
451) 5 Beuleuleu
451) 5 naholyr
451) 5 Bothunderi
451) 5 Dark&Wise
451) 5 sansfoiniloi
451) 5 Steven Seagal
451) 5 MultiUser
451) 5 nuns
451) 5 jybee
451) 5 pyo
483) 4 Ningirsu
483) 4 qu3nt1n
483) 4 Abdess
483) 4 Migoux
483) 4 GMTartine
483) 4 reidid
483) 4 Jarlaxe
483) 4 H4l
483) 4 jonny_the_dog
483) 4 Pololilo
483) 4 Maximelene
483) 4 Geoffrey
483) 4 Romelus
483) 4 miky972
483) 4 RavN
483) 4 ffomnislash
483) 4 hismajesty
483) 4 sploutch
483) 4 genditux
483) 4 D0mS
483) 4 Rodzic
483) 4 shumira
483) 4 gonzolero
483) 4 Playmobitch
483) 4 FireLight
483) 4 Phoenix3443
483) 4 Pacifick_FR42
483) 4 Jean Claude van DAMME
483) 4 bruce lee
483) 4 Kyrra
483) 4 ours.des.carpates
483) 4 gilcot
515) 3 pip3000
515) 3 Ynyntyo
515) 3 neib
515) 3 sephiroth56700
515) 3 mr_pouit
515) 3 Evolva
515) 3 AddiKT1ve
515) 3 Antoine59
515) 3 Weib
515) 3 LittleWhite
515) 3 Migou 73
515) 3 edhelas
515) 3 Dwarfs
515) 3 Taickyto
515) 3 dicamion
515) 3 Mortecouille
515) 3 Cricket
515) 3 phlaurran
515) 3 louizatakk
515) 3 nulisimme
515) 3 lа 'tite gоgole
515) 3 jamais сontent
537) 2 venousto
537) 2 Hangman
537) 2 bipede
537) 2 fibi
537) 2 Champy
537) 2 Le Galéanthrope
537) 2 wiscоt
544) 1 Peter Meuris
544) 1 Christouf29
544) 1 kismi
544) 1 simon91
544) 1 tournesol_de_nuit
544) 1 vibratoire
[En grève pour protester contre sa mise au chômage ! ]
L'infatigable Compteur Couche Tard, quantifie votre sommeil en retard...
Mon code source
Pour participer au financement des services tdct.org contactez nous: contact [chez] tdct.org
Hors ligne
#2113 Le 16/06/2009, à 06:40
- compteur-couche-tard
Re : Topic des couche tard (23) !
scores de la période en cours:
1) 129 pipou24
2) 128 philarmonie
3) 118 guguscat
4) 115 tshirtman
5) 107 Il Palazzo-sama
6) 104 rmy
7) 103 herberts
8) 100 kinouchou
9) 96 0xdeadbeef
9) 96 superpapalolo
11) 94 wiscot
12) 90 pierguiard
13) 82 juju_theseaman
14) 78 samuncle
15) 76 inbox
16) 73 jamais content
17) 65 necroluckyboy
18) 64 Toineo
19) 60 She0gorath
19) 60 El Pensador
21) 58 Plonk
22) 56 zarakaï
23) 55 Zeibux
23) 55 Nizarus
23) 55 Kanor
23) 55 Héliade
27) 54 milkyway
28) 53 diodio13fr
29) 52 Asphaltsnatch
30) 50 spatz
31) 43 seb_42
32) 40 edge_one
33) 38 Kamy
34) 34 Veterini
35) 33 Corentin38
35) 33 Mornagest
37) 32 Kous-Kous!
38) 25 la 'tite gogole
39) 20 cat_loic
40) 19 phoenix_001
41) 16 ceric
41) 16 Le Rouge
43) 13 dada55
44) 12 Lagierl
44) 12 natheo
46) 10 Alenaze
46) 10 thanatonpatisas1
48) 9 KarlP
49) 6 Wapush
49) 6 systeme1
49) 6 mikki
52) 5 spinoziste
52) 5 pyo
54) 4 Compteur_couche_tards
54) 4 gilcot
56) 2 cyril_remy
56) 2 Benjdev
58) 1 jybee
58) 1 sakul
58) 1 MattX
58) 1 vibratoire
[En grève pour protester contre sa mise au chômage ! ]
L'infatigable Compteur Couche Tard, quantifie votre sommeil en retard...
Mon code source
Pour participer au financement des services tdct.org contactez nous: contact [chez] tdct.org
Hors ligne
#2114 Le 16/06/2009, à 06:41
- samυncle
Re : Topic des couche tard (23) !
Hello world
Hors ligne
#2115 Le 16/06/2009, à 07:52
- tshirtman
Re : Topic des couche tard (23) !
rmy a écrit :spontanément je dirais courir très vite...
Ça dépend de la pluie aussi... et de la vitesse de course
Je me souviens avoir essayé d'accélérer en zodiac sous un orage, et du coup au lieu d'être trempé sur le dos seulement, j'avais tout le devant mouillé. Bon c'était de la très grosse pluie (je voyais pas grand chose devant :s), et j'allais vite.Bon, ce coup la j'arrête le pc et ej vais au pieu.
c'est pour ça que je me suis laissé la possibilité de changer la vitesse de course et le vecteur de la pluie, je ferais plusieurs courbes
Hors ligne
#2116 Le 16/06/2009, à 08:24
- Toineo
Re : Topic des couche tard (23) !
Plopmatin all
@tshirtman : marrant ton code (lu en diagonale, cela dit ^^) mais t'as pas de l'usf a faire toi ?
(patapé)
En tout cas je confirme : on est moins mouillé a pied qu'en vélo
Dernière modification par Toineo (Le 16/06/2009, à 08:36)
Fail
Hors ligne
#2117 Le 16/06/2009, à 08:26
- PPdM
Re : Topic des couche tard (23) !
Bonjourtatouetatoutes!:D
salut j'ai !!:D
@tshirtman
l'expérience et les calculs on deja eté fait. J'ai lu eu article dans sciences et vie il y a a deux ou trois ans.
la conclusion : plus on va vite plus on est mouillé.
si je retrouve je te donnerai les références.
Dernière modification par pierguiard (Le 16/06/2009, à 08:27)
La critique est facile, mais l'art est difficile !
L'humanité étant ce qu'elle est, la liberté ne sera jamais un acquit, mais toujours un droit à défendre !
Pour résoudre un problème commence par poser les bonnes questions, la bonne solution en découlera
Hors ligne
#2118 Le 16/06/2009, à 08:59
- kouskous
Re : Topic des couche tard (23) !
Bonjour,
Bisous Mikki.
#!/usr/bin/killall
« « J'aime kouskous » — kouskous. » — kouskous.
Hors ligne
#2119 Le 16/06/2009, à 09:00
- diodio13fr
Re : Topic des couche tard (23) !
salut à tous.
J'ai besoin d'aide
L'un d'entre vous pourrait-il poster le contenu du fichier
/etc/init.d/skeleton
J'ai beau googler je ne le trouve nulle part
je suis au boulot sous w$ et comme je ne suis pas débordé j'en profiterai pour essayer de régler mon problème de sauvegarde et restauration des tables netfilter lors des arrêt et démarrage de la machine.
Merci d'avance à mon sauveur
Dernière modification par diodio13fr (Le 16/06/2009, à 09:01)
█▒▒▒░░
Hors ligne
#2120 Le 16/06/2009, à 09:02
- kouskous
Re : Topic des couche tard (23) !
#! /bin/sh
### BEGIN INIT INFO
# Provides: skeleton
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
### END INIT INFO
# Author: Foo Bar <foobar@baz.org>
#
# Please remove the "Author" lines above and replace them
# with your own name if you copy and modify this script.
# Do NOT "set -e"
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Description of the service"
NAME=daemonexecutablename
DAEMON=/usr/sbin/$NAME
DAEMON_ARGS="--options args"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
# Define LSB log_* functions.
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
. /lib/lsb/init-functions
#
# Function that starts the daemon/service
#
do_start()
{
# Return
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
# Add code here, if necessary, that waits for the process to be ready
# to handle requests from services started subsequently which depend
# on this one. As a last resort, sleep for some time.
}
#
# Function that stops the daemon/service
#
do_stop()
{
# Return
# 0 if daemon has been stopped
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Wait for children to finish too if this is a daemon that forks
# and if the daemon is only ever run from this initscript.
# If the above conditions are not satisfied then add some other code
# that waits for the process to drop all resources that could be
# needed by services started subsequently. A last resort is to
# sleep for some time.
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
[ "$?" = 2 ] && return 2
# Many daemons don't delete their pidfiles when they exit.
rm -f $PIDFILE
return "$RETVAL"
}
#
# Function that sends a SIGHUP to the daemon/service
#
do_reload() {
#
# If the daemon can reload its configuration without
# restarting (for example, when it is sent a SIGHUP),
# then implement that here.
#
start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
return 0
}
case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
stop)
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
#reload|force-reload)
#
# If do_reload() is not implemented then leave this commented out
# and leave 'force-reload' as an alias for 'restart'.
#
#log_daemon_msg "Reloading $DESC" "$NAME"
#do_reload
#log_end_msg $?
#;;
restart|force-reload)
#
# If the "reload" option is implemented then remove the
# 'force-reload' alias
#
log_daemon_msg "Restarting $DESC" "$NAME"
do_stop
case "$?" in
0|1)
do_start
case "$?" in
0) log_end_msg 0 ;;
1) log_end_msg 1 ;; # Old process is still running
*) log_end_msg 1 ;; # Failed to start
esac
;;
*)
# Failed to stop
log_end_msg 1
;;
esac
;;
*)
#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
exit 3
;;
esac
:
#!/usr/bin/killall
« « J'aime kouskous » — kouskous. » — kouskous.
Hors ligne
#2121 Le 16/06/2009, à 09:05
- diodio13fr
Re : Topic des couche tard (23) !
Merci copain
Dernière modification par diodio13fr (Le 16/06/2009, à 09:07)
█▒▒▒░░
Hors ligne
#2122 Le 16/06/2009, à 09:05
- Toineo
Re : Topic des couche tard (23) !
@diodo : je sais pas si t'as fait comme ca, mais en tout cas tu peux save tes tables (une fois qu'elles sont reglées au poil) avec iptables-save, puis faire iptables-restore a chaque démarrage. C'est pas plus simple ?
Dernière modification par Toineo (Le 16/06/2009, à 09:08)
Fail
Hors ligne
#2123 Le 16/06/2009, à 09:08
- diodio13fr
Re : Topic des couche tard (23) !
c'est bien ce que je compte faire faire à init pour ne pas devoir le faire à la main à chaque démarrage.
█▒▒▒░░
Hors ligne
#2124 Le 16/06/2009, à 09:16
- MacArony
Re : Topic des couche tard (23) !
Hey diodio13fr ! Tu entends quoi par rallonge PS2 ? Tu parle de PS/2 ou de PlayStation2 ?
Linux was fast enough on this machine. But in street racing parlance, with PC-BSD I’m burning rubber in all four gears.
Lenovo Yoga L380 : Elementary 7.0
HP Proliant N54L : OpenMediaVault 6
Apple Mac Mini 2009 : Catalina
Hors ligne
#2125 Le 16/06/2009, à 09:16
- diodio13fr
Re : Topic des couche tard (23) !
Ben, je n'ai pas essayé avec un simple script, car dans tous les cas je veux qu'à l'arrêt de la machine les tables soient sauvées, au cas ou une nouvelle règle venait à être ajoutée. Et init est parfait pour exécuter des tâche aux boots et aux arrêts.
Un script serait bon pour charger les règles au démarrage mais pas pour les sauver à l'arrêt. (enfin je crois)
@asphaltsnatch: c'est PS/2, il me faudrait une rallonge pour clavier, c'est devenu introuvable .
signature modifié
Dernière modification par diodio13fr (Le 16/06/2009, à 09:23)
█▒▒▒░░
Hors ligne