Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- if [ -f "/etc/accounting.conf" ]; then
- . /etc/accounting.conf
- else
- echo "/etc/accounting.conf not found"
- exit 1
- fi
- IP_N=`cat /etc/hosts |grep -c $ACCOUNTING_INT`
- echo Anzahl: "$IP_N"
- IP1=`cat /etc/hosts |grep $ACCOUNTING_INT|cut -d' ' -f1`
- echo Eingelesene IP: "$IP1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement