[root@labadclient02 open1x]#vim bin/startup.sh

#!/bin/bash

INTERFACE=eth0
echo "Starting startup.sh"
echo "shut down interface $INTERFACE"
/sbin/ifconfig $INTERFACE down
echo "killing the DHCP-client"
killall dhclient

sleep 1

#/sbin/iwconfig $INTERFACE mode managed essid testnet enc 000000000

echo "starting interface $INTERFACE"
/sbin/ifconfig $INTERFACE allmulti up

echo "Finished startup.sh"

 
startup01-script01.txt · Last modified: 2009/09/13 17:39 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki