dslinux/user/pixil/scripts/platforms/x86-demo/scripts pixil-ifdown pixil-ifup pixil-network.conf
amadeus
dslinux_amadeus at user.in-berlin.de
Tue Oct 3 13:42:58 CEST 2006
Update of /cvsroot/dslinux/dslinux/user/pixil/scripts/platforms/x86-demo/scripts
In directory antilope:/tmp/cvs-serv22795/user/pixil/scripts/platforms/x86-demo/scripts
Added Files:
pixil-ifdown pixil-ifup pixil-network.conf
Log Message:
Pixil: add some forgotten files
--- NEW FILE: pixil-ifdown ---
#!/bin/sh
# Network configuration script for the Pixil Operating Environment
# running under Redhat 7.3
#
# Usage: ./pixil-ifdown <device>
# Major cheat here... :) Just run the Redhat scripts. We don't allow
# you to actually change the settings, becuase that would be very
# irresponsible
CONFIG=${1}
[ -z "${CONFIG}" ] && {
echo "usage: ./pixil-ifdown <config | device>"
exit 1
}
# We assume a default file of /usr/local/pixil/scripts/pixil-<device>.conf
[ -f "${CONFIG}" ] || CONFIG=/usr/local/pixil/scripts/pixil-${CONFIG}.conf
[ -f "${CONFIG}" ] || {
echo "No config '${CONFIG}' found"
echo "Usage: ./pixil-ifdown <config | device>"
exit 1
}
/etc/sysconfig/network-scripts/ifdown ${DEVICE}
--- NEW FILE: pixil-network.conf ---
DEVICE=eth0
PROTO=dhcp
--- NEW FILE: pixil-ifup ---
#!/bin/sh
# Network configuration script for the Pixil Operating Environment
# running under Redhat 7.3
#
# Usage: ./pixil-ifup <device>
# Major cheat here... :) Just run the Redhat scripts. We don't allow
# you to actually change the settings, becuase that would be very
# irresponsible
CONFIG=${1}
[ -z "${CONFIG}" ] && {
echo "usage: ./pixil-ifup <config | device>"
exit 1
}
# We assume a default file of /usr/local/pixil/scripts/pixil-<device>.conf
[ -f "${CONFIG}" ] || CONFIG=/usr/local/pixil/scripts/pixil-${CONFIG}.conf
[ -f "${CONFIG}" ] || {
echo "No config '${CONFIG}' found"
echo "Usage: ./pixil-ifup <config | device>"
exit 1
}
/etc/sysconfig/network-scripts/ifup ${DEVICE}
More information about the dslinux-commit
mailing list