#/home/CHROOT/ntpd/>/etc/init.d/ntp start
bash: /etc/init.d/ntp: /bin/bash^M: bad interpreter: Aucun fichier ou répertoire de ce type…
#!/bin/sh
### BEGIN INIT INFO
# Provides: ntp
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start NTP daemon
### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
. /lib/lsb/init-functions
NAME=ntp
DAEMON=/usr/sbin/ntpd
PIDFILE=/var/run/ntpd.pid
CHROOT=/home/CHROOT/ntpd
test -x $DAEMON || exit 5
....
l’est ou le probleme ??? pleaaze ? je vois paaaaaasss. (surtout que sh->bash)
merci d’avance pour vos idées.
+edit pour le titre…


).