source:
client/shared/scripts/updateBootCache
@
4caea35
Last change on this file since 4caea35 was ecd8d9a, checked in by , 14 years ago | |
---|---|
|
|
File size: 301 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | OGBTFTP="/opt/og2fs/tftpboot/ogclient/" |
3 | ogMountCache || exit 1 |
4 | echo $OGCAC |
5 | [ -d $OGCAC/boot ] || mkdir -p $OGCAC/boot |
6 | [ -f ${OGCAC}/boot/ogvmlinuz ] || cp ${OGBTFTP}ogvmlinuz ${OGCAC}/boot/ogvmlinuz |
7 | [ -f ${OGCAC}/boot/oginitrd.img ] || cp ${OGBTFTP}oginitrd.img ${OGCAC}/boot/oginitrd.img |
Note: See TracBrowser
for help on using the repository browser.