-#!/bin/sh
+#!/bin/bash
# Filename: /etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
# Purpose: configure init system for the live-system
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
set -u
set -e
-[ -z "$GRML_NAME" ] && GRML_NAME=grml
+GRML_NAME="${GRML_NAME:-grml}"
if ! [ -r $target/etc/runlevel.conf ] ; then
echo 'Warning: /etc/runlevel.conf does not exist...'