#!/bin/sh if [ ! -c /dev/vcs ]; then mknod /dev/vcs c 7 0 fi cat >/tmp/foo.sh </dev/null) if [ -z "\$output" ]; then output="installing prep" fi echo "\$output" ;; esac exit 0 EOF chmod 755 /tmp/foo.sh /tmp/foo.sh >/tmp/foo.log 2>&1 & exit 0