Toon posts:

[Gentoo] runscript.sh geeft foutmeldingen

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb een Gentoo install gedaan en nu geeft tijdens het booten
elke regel in /sbin/runscript.sh een foutmelding, namelijk "command not found"

Ik heb google, groups.google en het gentoo-forum nagezocht; het enige wat erop leek was dat het path niet goed zou zijn (naar /sbin)

echo $path geeft onder andere /sbin terug dus dat lijkt me goed.


heeft er iemand enig idee wat er fout gaat?

ik was net zover, en blijf ik steken op die runscript foutmeldingen die volgens mij ervoor zorgen dat mijn internetconnectie het niet meer doet. (heb ik een andere thread voor lopen; modules die niet geladen zouden zijn, maar die zitter er nu zeker wel in); oftewel emerge doet het dus niet.

:'(

Verwijderd

En wat staat er voor "command not found" :?

B.t.w. "runscript.sh" is nou niet echt een veelzeggende topictitel natuurlijk.

  • lvh
  • Registratie: Juli 2001
  • Laatst online: 02-11-2022

lvh

vi dat script es en doe eens manueel, dan kan je er achter komen waar het schoentje wringt

Verwijderd

Topicstarter
wat er voor "command not found" staat?

bijvoorbeeld:
"bringing eth0 up"
en dan iets van
"./sbin/runscript.sh 1 : "command not found"
"./sbin/runscript.sh 2 : "command not found"

etc

en dat ook voor de hoofditems "local" "sysklogd" "network file systems" en nog een paar die ik niet zo snel kan lezen.

over de andere vraag, om het manueel uit te voeren.
zo ver ben ik nog niet :o ik ben nog newbie achtig.

ik kan wel runscript.sh voor je posten, mocht dat helpen.

  • lvh
  • Registratie: Juli 2001
  • Laatst online: 02-11-2022

lvh

Op zondag 16 juni 2002 16:52 schreef Batser het volgende:
wat er voor "command not found" staat?

bijvoorbeeld:
"bringing eth0 up"
en dan iets van
"./sbin/runscript.sh 1 : "command not found"
"./sbin/runscript.sh 2 : "command not found"

etc

en dat ook voor de hoofditems "local" "sysklogd" "network file systems" en nog een paar die ik niet zo snel kan lezen.

over de andere vraag, om het manueel uit te voeren.
zo ver ben ik nog niet :o ik ben nog newbie achtig.

ik kan wel runscript.sh voor je posten, mocht dat helpen.
Nou, ken je vi? doe gewoon vi [path van waar dat script staat]

De eerste lijn is waarschijnlijk #/bin/bash, die moet je niet meetellen. En dan moet je manueel alles typen waar GEEN # voor staat. Capiche?

Verwijderd

Topicstarter
ik ken vi, maar in gentoo wordt standaard nano meegeleverd.
echter ik neem aan dat je bedoelt dat elk regel uit runscript.sh op de console ingetikt moet worden.

dat zijn er nogal wat; daarnaast zitten er allerlei if-then statements in. gaat dat uberhaupt werken?

Verwijderd

Nee, hij bedoelt gewoon, dat de foutmeldingen aangeven op welke regel het fout gaat.

Dat zijn de regels zonder een #-teken ervoor. Die tellen dus niet mee in de nummering.

Als je die regels nu eens hier neerzet dan komen we al een heel eind verder.

Uiteraard werkt het handmatig invoeren van scripts ook, aangezien ze beiden door bash uitgevoerd worden ;)

Verwijderd

Topicstarter
hier dan het runscript.sh bestand:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
#!/bin/bash
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-src/rc-scripts/sbin/runscript.sh,v 1.2 2002/04/21 19:27:07 azarah Exp $


source /sbin/functions.sh

#state variables
svcpause="no"
svcrestart="no"

myscript="${1}"
if [ -L ${1} ]
then
myservice="$(readlink ${1})"
else
myservice="${1}"
fi

myservice="${myservice##*/}"
mylevel="$(cat ${svcdir}/softlevel)"


#set $IFACE to the name of the network interface if it is a 'net.*' script
IFACE=""
NETSERVICE=""
if [ "${myservice%%.*}" = "net" ] && [ "${myservice##*.}" != "${myservice}" ]
then
IFACE="${myservice##*.}"
NETSERVICE="yes"
fi

# Source configuration files.
# (1) Source /etc/conf.d/basic to get common configuration.
# (2) Source /etc/conf.d/${myservice} to get initscript-specific
#     configuration (if it exists).
# (3) Source /etc/conf.d/net if it is a net.* service
# (4) Source /etc/rc.conf to pick up potentially overriding
#     configuration, if the system administrator chose to put it
#     there (if it exists).

[ -e /etc/conf.d/basic ]            && source /etc/conf.d/basic

[ -e /etc/conf.d/${myservice} ]      && source "/etc/conf.d/${myservice}"

[ -e /etc/conf.d/net ]            && \
[ "${myservice%%.*}" = "net" ]      && \
[ "${myservice##*.}" != "${myservice}" ]  && source /etc/conf.d/net

[ -e /etc/rc.conf ]              && source /etc/rc.conf

usage() {
local IFS="|"
myline="Usage: ${myservice} {$*"
echo
eerror "${myline}}"
eerror "     ${myservice} without arguments for full help"
}

stop() {
#return success so the symlink gets removed
return 0
}

start() {
eerror "ERROR:  \"${myservice}\" does not have a start function."
#return failure so the symlink doesn't get created
return 1
}

restart() {
svc_restart || return $?
}

svc_stop() {
local x=""
local mydep=""
local mydeps=""
local retval=0
local ordservice=""
if [ ! -L ${svcdir}/started/${myservice} ]
then
eerror "ERROR:  \"${myservice}\" has not yet been started."
return 1
fi

# do not try to stop if it had already failed to do so on runlevel change
if [ -L ${svcdir}/failed/${myservice} ] && \
   [ -d ${svcdir}/softscripts.new ]
then
exit 1
fi

#remove symlink to prevent recursion
rm -f ${svcdir}/started/${myservice}

#stop all services that should be stopped before this service
#on runlevel change
if [ -d ${svcdir}/softscripts.new ]
then
for x in $(dolisting ${svcdir}/before/*/${myservice})
do
if [ ! -L ${x} ]
then
continue
fi
ordservice="${x%/*}"
ordservice="${ordservice##*/}"
if [ ! -L ${svcdir}/softscripts.new/${ordservice} ] && \
   [ -L ${svcdir}/started/${ordservice} ] && \
   [ ! -L ${svcdir}/failed/${ordservice} ] && \
   [ ! -L ${svcdir}/before/${myservice}/${ordservice} ] && \
   ! dependon ${myservice} ${ordservice} && \
   [ "${myservice}" != "${ordservice}" ]
then
local dep=""
local needsme=0
for dep in $(dolisting ${svcdir}/need/${ordservice}/)
do
if [ -L ${svcdir}/softscripts.new/${dep##*/} ] && \
   [ -e ${dep} ]
then
#this dep is valid
needsme=1
break
fi
done
if [ "${needsme}" -eq 0 ]
then
#there is still other services that should be stopped before
#this service, so fall though (they will stop this service)
ln -sf /etc/init.d/${myservice} ${svcdir}/started/${myservice}
return 0
fi
fi
done
fi

if [ -L /etc/init.d/boot/${myservice} ]
then
ewarn "WARNING:  you are stopping a boot service."
fi
if [ "${NETSERVICE}" = "yes" ]
then
#net.* service
if [ -L /etc/runlevels/boot/${myservice} ] || \
   [ -L /etc/runlevels/${mylevel}/${myservice} ]
then
mydeps="net ${myservice}"
else
mydeps="${myservice}"
fi
else
mydeps="${myservice}"
fi
if [ "${svcpause}" = "yes" ]
then
mydeps=""
fi
for mydep in ${mydeps}
do
#do not stop a service if it 'use' the current sevice
if [ -d ${svcdir}/need/${mydep} ]
then
for x in $(dolisting ${svcdir}/need/${mydep}/)
do
if [ ! -L ${x} ]
then
continue
fi
if [ ! -L ${svcdir}/started/${x##*/} ]
then
#service not currently running, continue
continue
fi
${x} stop
if [ "$?" -ne 0 ]
then
#if we are halting the system, try and get it down as
#clean as possible, else do not start our service if
#a needed service did not start.
if [ "${SOFTLEVEL}" != "reboot" ] && \
   [ "${SOFTLEVEL}" != "shutdown" ] && \
   [ -L ${svcdir}/need/${mydep}/${x} ]
then
retval=1
fi
break
fi
done
fi
done

if [ "${retval}" -ne 0 ]
then
eerror "ERROR:  problems stopping dependent services."
eerror "      \"${myservice}\" is still up."
else
#now that deps are stopped, stop our service
stop
retval=$?
fi

#stop all services that should be stopped after this service
#on runlevel change
if [ -d ${svcdir}/softscripts.new ]
then
for x in $(dolisting ${svcdir}/after/*/${myservice})
do
if [ ! -L ${x} ]
then
continue
fi
ordservice="${x%/*}"
ordservice="${ordservice##*/}"
if [ ! -L ${svcdir}/softscripts.new/${ordservice} ] && \
   [ -L ${svcdir}/started/${ordservice} ] && \
   [ ! -L ${svcdir}/failed/${ordservice} ] && \
   [ ! -L ${svcdir}/after/${myservice}/${ordservice} ] && \
   ! dependon ${ordservice} ${myservice} && \
   [ "${myservice}" != "${ordservice}" ]
then
local dep=""
local needsme=0
for dep in $(dolisting ${svcdir}/need/${ordservice}/)
do
if [ -L ${svcdir}/softscripts.new/${dep##*/} ] && \
   [ -e ${dep} ]
then
#this dep is valid
needsme=1
break
fi
done
if [ "${needsme}" -eq 0 ]
then
#stop service
/etc/init.d/${ordservice} stop
fi
fi
done
fi

if [ "${retval}" -ne 0 ]
then
#did we fail to stop? create symlink to stop multible attempts at
#runlevel change
if [ -d ${svcdir}/failed ]
then
ln -sf /etc/init.d/${myservice} ${svcdir}/failed/${myservice}
fi
#if we are halting the system, do it as cleanly as possible
if [ "${SOFTLEVEL}" != "reboot" ] && [ "${SOFTLEVEL}" != "shutdown" ]
then
ln -sf /etc/init.d/${myservice} ${svcdir}/started/${myservice}
fi
fi

return ${retval}
}

svc_start() {
local retval=0
local startfail="no"
local x=""
local y=""
local myserv=""
local ordservice=""
if [ ! -L ${svcdir}/started/${myservice} ]
then
#do not try to start if i have done so already on runlevel change
if [ -L ${svcdir}/failed/${myservice} ] && \
   [ -d ${svcdir}/softscripts.old ]
then
exit 1
fi

#link first to prevent possible recursion
ln -sf /etc/init.d/${myservice} ${svcdir}/started/${myservice}

#start anything that should be started before this service on
#runlevel change
if [ -d ${svcdir}/softscripts.old ]
then
local needstart=0
for x in $(dolisting ${svcdir}/after/*/${myservice})
do
if [ ! -L ${x} ]
then
continue
fi
ordservice="${x%/*}"
ordservice="${ordservice##*/}"
if [ ! -L ${svcdir}/softscripts.old/${ordservice} ] && \
   [ ! -L ${svcdir}/started/${ordservice} ] && \
   [ -L ${svcdir}/softscripts/${ordservice} ] && \
   [ ! -L ${svcdir}/failed/${ordservice} ] && \
   [ ! -L ${svcdir}/after/${myservice}/${ordservice} ] && \
   ! dependon ${ordservice} ${myservice} && \
   [ "${myservice}" != "${ordservice}" ]
then
#there are still service left that should be started before
#this one, so just fall though (they will start this one)
rm -f ${svcdir}/started/${myservice}
return 0
fi
done
fi

#start dependencies, if any
for x in $(ineed ${myservice}) $(valid_iuse ${myservice})
do
if [ "${x}" = "net" ]
then
for y in $(dolisting "/etc/runlevels/boot/net.*")
do
myserv="${y##*/}"
if [ ! -L ${svcdir}/started/${myserv} ]
then
/etc/init.d/${myserv} start

#a 'need' dependancy is critical for startup
if [ "$?" -ne 0 ] && \
   [ -L ${svcdir}/need/${x}/${myservice} ]
then
startfail="yes"
fi
fi
done
for y in $(dolisting "/etc/runlevels/${mylevel}/net.*")
do
myserv="${y##*/}"
if [ ! -L ${svcdir}/started/${myserv} ]
then
/etc/init.d/${myserv} start

#a 'need' dependancy is critical for startup
if [ "$?" -ne 0 ] && \
   [ -L ${svcdir}/need/${x}/${myservice} ]
then
startfail="yes"
fi
fi
done
else
if [ ! -L ${svcdir}/started/${x} ]
then
/etc/init.d/${x} start

#a 'need' dependacy is critical for startup
if [ "$?" -ne 0 ] && [ -L ${svcdir}/need/${x}/${myservice} ]
then
startfail="yes"
fi
fi
fi
done

if [ "${startfail}" = "yes" ]
then
eerror "ERROR:  Problem starting needed services."
eerror "      \"${myservice}\" was not started."
retval=1
fi

#start service
if [ -d ${svcdir}/broken/${myservice} ] && [ "${retval}" -eq 0 ]
then
eerror "ERROR:  Some services needed are missing.  Run"
eerror "      './${myservice} broken' for a list of those"
eerror "      services.  \"${myservice}\" was not started."
retval=1
elif [ ! -d ${svcdir}/broken/${myservice} ] && [ "${retval}" -eq 0 ]
then
start
retval=$?
fi

if [ "${retval}" -ne 0 ] && [ -d ${svcdir}/failed ]
then
ln -sf /etc/init.d/${myservice} ${svcdir}/failed/${myservice}
fi

#start anything that should be started after this service
#on runlevel change
if [ -d ${svcdir}/softscripts.old ]
then
for x in $(dolisting ${svcdir}/before/*/${myservice})
do
if [ ! -L ${x} ]
then
continue
fi
ordservice="${x%/*}"
ordservice="${ordservice##*/}"
if [ ! -L ${svcdir}/softscripts.old/${ordservice} ] && \
   [ ! -L ${svcdir}/started/${ordservice} ] && \
   [ -L ${svcdir}/softscripts/${ordservice} ] && \
   [ ! -L ${svcdir}/failed/${ordservice} ] && \
   [ ! -L ${svcdir}/before/${myservice}/${ordservice} ] && \
   ! dependon ${myservice} ${ordservice} && \
   [ "${myservice}" != "${ordservice}" ]
then
#start service
/etc/init.d/${ordservice} start
fi
done
fi

#remove link if service didn't start; but only if we're not booting
#if we're booting, we need to continue and do our best to get the
#system up.
if [ "${retval}" -ne 0 ] && [ "${SOFTLEVEL}" != "boot" ]
then
rm -f ${svcdir}/started/${myservice}
fi
return ${retval}
else
ewarn "WARNING:  \"${myservice}\" has already been started."
return 0
fi
}

svc_restart() {
svc_stop || return $?
sleep 1
svc_start || return $?
}

wrap_rcscript ${myscript} || {
eerror "ERROR:  \"${myscript}\" has syntax errors in it; not executing..."
exit 1
}
source ${myscript}

if [ -z "${opts}" ]
then
opts="start stop restart"
fi

# does $1 depend on $2 ?
dependon() {
if [ -L ${svcdir}/need/${2}/${1} ] || \
   [ -L ${svcdir}/use/${2}/${1} ]
then
return 0
else
return 1
fi
}

needsme() {
local x=""
if [ -d ${svcdir}/need/${1} ]
then
for x in $(dolisting ${svcdir}/need/${1}/)
do
if [ ! -L ${x} ]
then
continue
fi
echo "${x##*/}"
done
fi
}

usesme() {
local x=""
if [ -d ${svcdir}/use/${1} ]
then
for x in $(dolisting ${svcdir}/use/${1}/)
do
if [ ! -L ${x} ]
then
continue
fi
echo "${x##*/}"
done
fi
}

ineed() {
local x=""
local z=""
for x in $(dolisting ${svcdir}/need/*/${1})
do
if [ ! -L ${x} ]
then
continue
fi
z="${x%/*}"
echo "${z##*/}"
done
}

#this will give all the use's of the service, even if not in current or boot
#runlevels
iuse() {
    local x=""
    local z=""
    for x in $(dolisting ${svcdir}/use/*/${1})
    do
if [ ! -L ${x} ]
then
    continue
fi
z="${x%/*}"
echo "${z##*/}"
    done
}

#this will only give the valid use's for the service (they must be in the boot
#or current runlevel)
valid_iuse() {
local x=""
local y=""
for x in $(iuse ${1})
do
if [ -e /etc/runlevels/boot/${x} ] || \
   [ -e /etc/runlevels/${mylevel}/${x} ]
then
z="${x%/*}"
echo "${z##*/}"
fi
done
}

#list broken dependancies of type 'need'
broken() {
local x=""
if [ -d ${svcdir}/broken/${1} ]
then
for x in $(dolisting ${svcdir}/broken/${1}/)
do
if [ ! -f ${x} ]
then
continue
fi
echo "${x##*/}"
done
fi
}

#call this with "needsme", "ineed", "usesme", "iuse" or "broken" as first arg
query() {
local deps=""
local x=""
install -d -m0755 ${svcdir}/depcheck/$$
if [ "${1}" = "ineed" ] && [ ! -L ${svcdir}/started/${myservice} ]
then
ewarn "WARNING:  \"${myservice}\" not running."
ewarn "     NEED info may not be accurate."
fi
if [ "${1}" = "iuse" ] && [ ! -L ${svcdir}/started/${myservice} ]
then
ewarn "WARNING:  \"${myservice}\" not running."
ewarn "     USE info may not be accurate."
fi

deps="${myservice}"
while [ -n "${deps}" ]
do
deps="$(${1} ${deps})"
for x in ${deps}
do
if [ ! -e ${svcdir}/depcheck/$$/${x} ]
then
touch ${svcdir}/depcheck/$$/${x}
fi
done
done
for x in $(dolisting ${svcdir}/depcheck/$$/)
do
if [ ! -e ${x} ]
then
continue
fi
echo "${x##*/}"
done
rm -rf ${svcdir}/depcheck
}

svc_homegrown() {
local arg="${1}"
local x=""
# Walk through the list of available options, looking for the
# requested one.
for x in ${opts}
do
if [ "${x}" = "${arg}" ]
then
if typeset -F ${x} &>/dev/null
then
# Run the homegrown function
${x}
return $?
else
# This is a weak error message
ewarn "WARNING:  function \"${x}\" doesn't exist."
usage ${opts}
exit 1
fi
fi
done
# If we're here, then the function wasn't in $opts.  This is
# the same error message that used to be in the case statement
# before homegrown functions were supported.
eerror "ERROR:  wrong args. (  $arg / $* )"
usage ${opts}
exit 1
}

shift
if [ "$#" -lt 1 ]
then
eerror "ERROR:  not enough args."
usage ${opts}
exit 1
fi
for arg in ${*}
do
case ${arg} in
--quiet)
QUIET_STDOUT="yes"
;;
esac
done
for arg in ${*}
do
case ${arg} in
stop)
svc_stop
;;
start)
svc_start
;;
needsme|ineed|usesme|iuse|broken)
query ${arg}
;;
status)
if [ -L ${svcdir}/started/${myservice} ]
then
einfo "status:  started"
else
eerror "status:  stopped"
fi
;;
zap)
if [ -e ${svcdir}/started/${myservice} ]
then
einfo "Manually resetting ${myservice} to stopped state."
rm -f ${svcdir}/started/${myservice}
fi
;;
restart)
svcrestart="yes"

#create a snapshot of started services
rm -rf ${svcdir}/snapshot/*
cp ${svcdir}/started/* ${svcdir}/snapshot/

#simple way to try and detect if the service use svc_{start,stop}
#to restart if it have a custom restart() funtion.
if [ -n "$(grep 'restart()' /etc/init.d/${myservice})" ]
then
if [ -z "$(grep svc_stop /etc/init.d/${myservice})" ] || \
   [ -z "$(grep svc_start /etc/init.d/${myservice})" ]
then
echo
ewarn "Please use 'svc_stop; svc_start' and not 'start; stop' to"
ewarn "restart the service in its custom 'restart()' function."
ewarn "Run ${myservice} without arguments for more info."
echo
svc_restart
else
restart
fi
else
restart
fi

#restart dependancies as well
if [ -L ${svcdir}/started/${myservice} ]
then
for x in $(dolisting ${svcdir}/snapshot/)
do
if [ ! -L ${svcdir}/started/${x##*/} ]
then
${x} start
fi
done
fi
svcrestart="no"
;;
pause)
svcpause="yes"
svc_stop
svcpause="no"
;;
--quiet)
;;
*D
# Allow for homegrown functions
svc_homegrown ${arg}
;;
esac
done


# vim:ts=4

<font color="blue">[edit Nelske]
Code-tags toegevoegd voor leesbaarheid</font>

Verwijderd

Die lap was niet echt nodig lijkt me ;)
We gaven al aan dat je moest kijken naar de regels die de foutmelding teruggaf.


Wat gebeurt er als je hetvolgende doet:
code:
1
source /sbin/functions

Waarschijnlijk krijg je dan foutmeldingen of niet?

Verwijderd

Topicstarter
kzal het vanavond proberen.

kzit nu op mijn werk...

:( (en het is erg mooi weer)

Verwijderd

Topicstarter
Wat gebeurt er als je hetvolgende doet:
code:
1
source /sbin/functions

Waarschijnlijk krijg je dan foutmeldingen of niet?
helemaal niks als ik /sbin/functions.sh doe (ook geen errors)
foutmelding "not found" wanneer ik zonder de sh extensie probeer, en wanneer ik runscript.sh probeer blijft ie hangen na 2 regels (terwijl tijdens boot een kleine 50 regels uitgevoerd worden)

Verwijderd

Topicstarter
probleem opgelost!

ik had in rc.conf iets verkeerd geinterpreteerd en twee # voor het Unix en IP4 protocol verwijderd.

die zorgen er op de een of andere manier voor dat het runscipt.sh niet goed uitgevoerd wordt.

Nu alleen nog mijn pppoe verbinding aan de praat zien te krijgen; tijdens de install was het geen probleem, maar nu werkt het niet; ik krijg telkens "TERMINATED" wanneer ik adsl-start uit probeer te voeren.
Pagina: 1