Hi,
I am testing for the following apps but I don't have arp or setserial
installed on my system so I don't know their path. If someone would
let me know the path to arp and setserial I would appreciate it.
I am testing for the apps using this format.
[ -f $NETSTAT ] && do_task $NETSTAT -an || error $NETSTAT
On the apps I don't know the path to I am using:
do_task setserial -a /dev/ttyS0 2>>$FILE
and writing the error to the output file.
If there is a better way please let me know.
I will look into the password issue. If there are any places that I
shouldn't miss please let me know.
Thanks, Robert
IPCHAINS="/sbin/ipchains"
NETSTAT="/bin/netstat"
IP="/sbin/ip"
DF="/bin/df"
FREE="/usr/bin/free"
DMESG="/bin/dmesg"
>Robert Williams wrote:
>>
>> Thanks for the interest. I have now posted a new version that includes
>> cat /etc/hosts
>> cat /etc/resolv.conf
>> cat /etc/nsswitch.conf
>>
>> It will also ping the IPs in /etc/hosts and /etc/resolv.conf
>> as well as INTERN_IP and eth0_DEFAULT_GW
>
>You might also want to go to the trouble of "sanitizing" the output for
>posting to the list. There may be passwords or private IP addresses in
>the documentation.
>
>As Matt mentioned, also make SURE the commands are there - Oxygen
>stripped out several in order to make space (netstat, ifconfig, et al) -
>and Eigerstein also supports only the command ip instead of ifconfig.
>
>_______________________________________________
>Leaf-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/leaf-user
_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user