UranusI
10.10.06, 18:46
Hallo Linuxe,
habe mein ddclient installiert und auch erfolgreich configuriert. aber mit dem einbinden in den bootvorgang haberts :-(
habe mich im prinzip an die Anleitung wie hier http://www.linux-club.de/ftopic56297.html
gehalten. habe das script etwas geändert, da die ddclient.conf nicht in /etc liegt sondern in etc/ddclient
das script:
#!/bin/sh
#
# init.d/ddclient
#
### BEGIN INIT INFO
# Provides: ddclient
# Required-Start: $named $network
# Required-Stop:
# Default-Start: 3 5
# Default-Stop:
# Description: ddclient provides support for updating dynamic DNS services.
### END INIT INFO
. /etc/rc.status
rc_reset
[ -f /etc/ddclient/ddclient.conf ] || exit 0
PATH=/usr/sbin:${PATH}
COLUMNS=9999
export PATH COLUMNS
program=ddclient
case "$1" in
start)
echo -n "Starting ddclient: "
# ddclient -daemon 300
ddclient -v
rc_status -v
;;
stop)
echo -n "Shutting down ddclient: "
kill `ps -aef | awk '/[ \/]perl.*ddclient/ { print $2}'`
rc_status -v
;;
restart)
$0 stop
$0 start
rc_status
;;
status)
pids=`ps -aef | awk '/[ \/]perl.*ddclient/ { print $2}'`
if test "$pids"
then
for p in $pids
do
echo "$program (pid $p) is running"
done
else
echo "$program is stopped"
fi
rc_status -v1
;;
*)
echo "Usage: ddclient {start|stop|restart|status}"
exit 1
esac
exit 0
dann habe ich
cd /etc/init.d
insserv ddclient
cd /sbin
ln -s ../etc/init.d/ddclient rcddclient
bein booten erhalte ich
/etc/init.d/rc3.d/S14ddclient: no such file or directory
beim listen erhalte ich
lrwxrwxrwx 1 root root 11 Oct 10 17:48 S14ddclient -> ../ddclient
please help
habe mein ddclient installiert und auch erfolgreich configuriert. aber mit dem einbinden in den bootvorgang haberts :-(
habe mich im prinzip an die Anleitung wie hier http://www.linux-club.de/ftopic56297.html
gehalten. habe das script etwas geändert, da die ddclient.conf nicht in /etc liegt sondern in etc/ddclient
das script:
#!/bin/sh
#
# init.d/ddclient
#
### BEGIN INIT INFO
# Provides: ddclient
# Required-Start: $named $network
# Required-Stop:
# Default-Start: 3 5
# Default-Stop:
# Description: ddclient provides support for updating dynamic DNS services.
### END INIT INFO
. /etc/rc.status
rc_reset
[ -f /etc/ddclient/ddclient.conf ] || exit 0
PATH=/usr/sbin:${PATH}
COLUMNS=9999
export PATH COLUMNS
program=ddclient
case "$1" in
start)
echo -n "Starting ddclient: "
# ddclient -daemon 300
ddclient -v
rc_status -v
;;
stop)
echo -n "Shutting down ddclient: "
kill `ps -aef | awk '/[ \/]perl.*ddclient/ { print $2}'`
rc_status -v
;;
restart)
$0 stop
$0 start
rc_status
;;
status)
pids=`ps -aef | awk '/[ \/]perl.*ddclient/ { print $2}'`
if test "$pids"
then
for p in $pids
do
echo "$program (pid $p) is running"
done
else
echo "$program is stopped"
fi
rc_status -v1
;;
*)
echo "Usage: ddclient {start|stop|restart|status}"
exit 1
esac
exit 0
dann habe ich
cd /etc/init.d
insserv ddclient
cd /sbin
ln -s ../etc/init.d/ddclient rcddclient
bein booten erhalte ich
/etc/init.d/rc3.d/S14ddclient: no such file or directory
beim listen erhalte ich
lrwxrwxrwx 1 root root 11 Oct 10 17:48 S14ddclient -> ../ddclient
please help