MastaKilla
19.06.05, 10:19
guten morgen !
ich hab mir jetzt nach suse 9.1 suse 9.3 aufgespielt, internet etc. geht soweit alles, nur funktionieren meine shellscripte nicht mehr, wenn ich sie als cronjob laufen lasse
führe ich sie manuell aus, funktionieren sie so wie se sollen, aber wie gesagt übern cronjob kommt folgendes in /var/mail/root bzw. /var/spool/mail/root
..
/root/bin/rinetd.sh: line 6: ifconfig: command not found
/root/bin/rinetd.sh: line 18: rcrinetd: command not found
..
-> rinetd.sh
#!/bin/bash
#
RINETD_CONF="/etc/rinetd.conf"
EXTIP=`ifconfig dsl0 | grep P-t-P | cut -d: -f2 | cut -d" " -f1`
...
rcrinetd restart >/dev/NULL
und das bei mehreren scripten, immer "command not found" bei ifconfig oder so :confused:
danke,
MastaKilla
ich hab mir jetzt nach suse 9.1 suse 9.3 aufgespielt, internet etc. geht soweit alles, nur funktionieren meine shellscripte nicht mehr, wenn ich sie als cronjob laufen lasse
führe ich sie manuell aus, funktionieren sie so wie se sollen, aber wie gesagt übern cronjob kommt folgendes in /var/mail/root bzw. /var/spool/mail/root
..
/root/bin/rinetd.sh: line 6: ifconfig: command not found
/root/bin/rinetd.sh: line 18: rcrinetd: command not found
..
-> rinetd.sh
#!/bin/bash
#
RINETD_CONF="/etc/rinetd.conf"
EXTIP=`ifconfig dsl0 | grep P-t-P | cut -d: -f2 | cut -d" " -f1`
...
rcrinetd restart >/dev/NULL
und das bei mehreren scripten, immer "command not found" bei ifconfig oder so :confused:
danke,
MastaKilla