#!/bin/sh # # This script will be in the /etc/init.d/ as an autostart. # case "$1" in start) logger "Starting autostart scripts" /home/root/run.sh logger $? exit 0 ;; *) echo "It's just a startup script and has no arguments or commands" exit 1 ;; esac