|
Last change
on this file since 17841 was 15100, checked in by obi, 14 years ago |
|
[ipk] fix mc install and cleanup
|
-
Property svn:executable
set to
*
|
|
File size:
662 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | TMP=/tmp/.web
|
|---|
| 3 | echo "successfully installed"
|
|---|
| 4 | echo "syncing disk"
|
|---|
| 5 | echo "please reboot your box so that the extension will be mounted..."
|
|---|
| 6 | model=`cat /etc/model`
|
|---|
| 7 | cp /var/swap/extensions/WebInterface/web-data/img/rc."$model".jpg /var/swap/extensions/WebInterface/web-data/img/rc.jpg
|
|---|
| 8 | rm -rf /var/swap/extensions/WebInterface/web-data/img/rc.*.jpg
|
|---|
| 9 | cp -a /var/swap/extensions/WebInterface/web-data/tpl/default/tplWebRemote."$model".htm /var/swap/extensions/WebInterface/web-data/tpl/default/tplWebRemote.htm
|
|---|
| 10 | rm -rf /var/swap/extensions/WebInterface/web-data/tpl/default/tplWebRemote.*.htm
|
|---|
| 11 |
|
|---|
| 12 | sync
|
|---|
| 13 | echo "Rebooting Box in 10s..."
|
|---|
| 14 | sleep 5
|
|---|
| 15 | (sleep 10;init 6) &
|
|---|
| 16 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.