|
|
@@ -0,0 +1,8 @@ |
|
|
|
cp -a /etc/rc.local /etc/rc.local.bak |
|
|
|
echo "#!/bin/sh -e" > /etc/rc.local |
|
|
|
echo "#" >> /etc/rc.local |
|
|
|
echo "# rc.local" >> /etc/rc.local |
|
|
|
echo "" >> /etc/rc.local |
|
|
|
echo "/bin/bash /var/www/html/scripts/boot.sh &" >> /etc/rc.local |
|
|
|
echo "" >> /etc/rc.local |
|
|
|
echo "exit 0" >> /etc/rc.local |