summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-10-10 22:37:20 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2008-10-10 22:37:20 -0700
commitfacdd6ec66cb4b8eb45794f2b05cdc8d5bd2ed46 (patch)
tree705bbab550820d3833880c1685ecda5398e85430
parent0a60c68af7028fe58c3ece088c85fd3a04eb9a1f (diff)
parent8ce17085993849a8f13a5c2a7d8d5312cd62ff7f (diff)
downloadvyatta-cfg-quagga-facdd6ec66cb4b8eb45794f2b05cdc8d5bd2ed46.tar.gz
vyatta-cfg-quagga-facdd6ec66cb4b8eb45794f2b05cdc8d5bd2ed46.zip
Merge branch 'islavista' of mohit@git.vyatta.com:/git/vyatta-cfg-system into islavista
-rw-r--r--scripts/install-system6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 20b9f6a3..625cea73 100644
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -1185,6 +1185,12 @@ progress_indicator () {
##### Main
##
+
+if [ ! -d /live/image -o -w /live/image ]; then
+ echo "install-system can only be run from livecd"
+ exit 1
+fi
+
# clean up existing log files
if [ -f $INSTALL_LOG.old ]; then
rm -f $INSTALL_LOG.old