diff options
author | Daniel Baumann <daniel@debian.org> | 2013-02-18 11:29:04 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:06 +0200 |
commit | 04cec317cc4437eed514f4277f6779010e587662 (patch) | |
tree | 16e00a5358affa5a5b906f2c0d3f38d628ab0b2e /functions/defaults.sh | |
parent | 3f3d05b2e654a4ec312cb121c991b8c010bf3db1 (diff) | |
download | vyos-live-build-04cec317cc4437eed514f4277f6779010e587662.tar.gz vyos-live-build-04cec317cc4437eed514f4277f6779010e587662.zip |
Removing incomplete support for root-command.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 1f2b5fabf..592e5a1fc 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -322,19 +322,6 @@ Set_defaults () fi fi - if [ "$(id -u)" = "0" ] - then - # If we are root, disable root command - LB_ROOT_COMMAND="" - else - if [ -x /usr/bin/sudo ] - then - # FIXME: this is false until considered safe - #LB_ROOT_COMMAND="sudo" - LB_ROOT_COMMAND="" - fi - fi - if [ "${LIVE_IMAGE_ARCHITECTURE}" = "i386" ] && [ "${CURRENT_IMAGE_ARCHITECTURE}" = "amd64" ] then # Use linux32 when building amd64 images on i386 |