slitaz-forge view tank/files/etc/init.d/local.sh @ rev 117
tank: update cron file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 14 14:03:10 2012 +0100 (2012-03-14) |
parents | 89ae537ae823 |
children |
line source
1 #!/bin/sh
2 # /etc/init.d/local.sh - Local startup commands.
3 # All commands here will be executed at boot time.
4 #
5 . /etc/init.d/rc.functions
7 echo "Starting local startup commands... "
8 rdate -s tick.greyware.com
9 for i in /home/slitaz/*/chroot ; do
10 chroot $i /etc/init.d/crond start
11 done