slitaz-tools rev 161
netbox: fix default pxe config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 23 21:57:53 2008 +0000 (2008-04-23) |
parents | 570116a5cf7a |
children | b94d06e67f34 |
files | tinyutils/netbox |
line diff
1.1 --- a/tinyutils/netbox Wed Apr 23 16:07:01 2008 +0000 1.2 +++ b/tinyutils/netbox Wed Apr 23 21:57:53 2008 +0000 1.3 @@ -449,7 +449,7 @@ 1.4 <action>lzma d /usr/share/boot/pxelinux.0.lzma $(dirname $PXE_CONF)/../pxelinux.0</action> 1.5 <action>grep -q "^boot_file" $UDHCPD_CONF || echo "boot_file pxelinux.0" >> $UDHCPD_CONF</action> 1.6 <action>grep -q "^siaddr" $UDHCPD_CONF || echo "siaddr $(ifconfig $INTERFACE | grep inet.ad | cut -d: -f2 | cut -d\ -f1)" >> $UDHCPD_CONF</action> 1.7 - <action>[ -f $PXE_CONF ] || echo -e "label slitaz\n\tkernel bzImage\n\tappend initrd=rootfs.gz rw root=/dev/null vga=normal" > $PXE_CONF</action> 1.8 + <action>[ -f $PXE_CONF ] || echo -e "label linux\n\tkernel bzImage\n\tappend initrd=rootfs.gz rw root=/dev/null vga=normal" > $PXE_CONF</action> 1.9 <action type="lauch">leafpad $PXE_CONF</action> 1.10 </button> 1.11 </hbox>