summaryrefslogtreecommitdiff
path: root/scripts/00-init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/00-init.sh')
-rw-r--r--scripts/00-init.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/00-init.sh b/scripts/00-init.sh
deleted file mode 100644
index 43aa251..0000000
--- a/scripts/00-init.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-# scripts/00-init.sh
-
-Init ()
-{
- # Check if user is root
- if [ "`id -u`" -ne "0" ]
- then
- echo "E: ${PROGRAM} requires superuser privilege."
- exit 1
- fi
-
- # Check if build directory already exists
- if [ -d "${LIVE_ROOT}" ] && [ ! -d "${LIVE_ROOTFS}" ]
- then
- echo "E: found an (unfinished) system, remove it and re-run ${PROGRAM}."
- exit 1
- fi
-}