diff options
Diffstat (limited to 'broot.sh')
-rwxr-xr-x | broot.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -3,6 +3,10 @@ . ./inc/env.inc.sh # read slx config to find paths . ./inc/functions.inc.sh +if [ "$(whoami)" != "root" ]; then + echo " You need to be root" + exit 12 +fi case $1 in "setup") @@ -15,6 +19,9 @@ case $1 in tasks="build_busybox" # chroot-exec /root/bin/build-bb.sh ;; + "shell") + tasks="shell" + ;; "build-initramfs-pkgs") tasks="build_busybox build_packages build_kernel" # updateScripts |