#!/bin/sh # initialise debian system from outside the chroot # this script gets called from the android init system # first, set our PATH correctly # android uses a retarded PATH export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' # what services do we want to start? services=' hostname.sh rsyslog ssh atd cron rc.local ' # start debian services for service in $services do /usr/sbin/service "$service" start done