diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:21 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:21 +0200 |
commit | fb35af8aa207ef5377022028d9e2b497445fb349 (patch) | |
tree | e928737e9e000d1f2509395f58f04465c17794c5 /scripts/00-init.sh | |
parent | 18e4f460bf1c115c62ea9aebb56d75d486322531 (diff) | |
download | vyos-live-build-fb35af8aa207ef5377022028d9e2b497445fb349.tar.gz vyos-live-build-fb35af8aa207ef5377022028d9e2b497445fb349.zip |
Adding live-package 0.99.3-1.
Diffstat (limited to 'scripts/00-init.sh')
-rw-r--r-- | scripts/00-init.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/00-init.sh b/scripts/00-init.sh deleted file mode 100644 index 43aa2512d..000000000 --- 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 -} |