Vote count:
0
I did this
$ vi /etc/rc.local
and added 1 line to this file. Now this file looks like this:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
/home/mysh.sh
I reboot EC2. But mysh.sh seemed not run. I confess I am new with Linux. Thanks
asked 31 secs ago
Aucun commentaire:
Enregistrer un commentaire