воскресенье, 8 августа 2010 г.

Ubuntu 10.04 автозапуск служб

$sudo su
#gedit /etc/rc.local



#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
sudo -u root -H /etc/init.d/cron start
sudo -u root -H /etc/init.d/apache2 start
sudo -u root -H /etc/init.d/squid start

exit 0

Комментариев нет:

Отправить комментарий

h265.sh

#!/bin/bash file="../mp4" if [ -d $file ]; then         echo "  Директория существует :-) "         for i in *.mp4; do f...