I am trying to run a script at startup, for that i added a script in Init.d and created a link using command "update-rc.d script_name defaults" But when i restart the system i got only black screen. What can be the fault i am facing?
#!/bin/sh
#/etc/init.d/hello.sh
#
clear
echo "Hello $USER"
echo "Today is \c ";date
echo "Number of user login : \c" ; who | wc -l
echo "Calendar"
cal