mythtified,
Thanks It worked !!
Cesar
Thanks It worked !!
Cesar
Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menuln -s ../init.d/squeezeslave /etc/rc2.d/S50squeezeslave
Worked, But I'm still unable to get it working.#! /bin/sh
### BEGIN INIT INFO
# Provides: squeezeslave
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: S 0 1 6
# Short-Description: Initscript for squeezeslave
# Description: This init script make it possible to start squeezeslave as a daemon
# It is placed in /etc/init.d.
### END INIT INFO
# Author: Magnus Nilsson <magnus@karabas.nu>
#
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/usr/sbin:/usr/bin:/sbin:/bin
DESC="Squeezeslave dameon"
[glow=red,2,300]NAME=squeezeslave-alsa
DAEMON=/usr/local/bin/squeezeslave-0.8-20/$NAME
DAEMON_ARGS="-o 1 -m 00:00:00:00:00:02 -r -s 192.168.80.1"[/glow]
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
#!/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.
#/usr/local/bin/squeezeslave -m 00:00:00:00:00:01 -o 0 -s -r &
/usr/local/bin/squeezeslave -m 00:00:00:00:00:02 -o 1 -s -r &
exit 0
#! /bin/sh
### BEGIN INIT INFO
# Provides: squeezeslave
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: S 0 1 6
# Short-Description: Initscript for squeezeslave
# Description: This init script make it possible to start squeezeslave as a daemon
# It is placed in /etc/init.d.
### END INIT INFO
# Author: Magnus Nilsson <magnus@karabas.nu>
#
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/usr/sbin:/usr/bin:/sbin:/bin
DESC="Squeezeslave dameon"
NAME=squeezeslave-alsa
DAEMON=/usr/local/bin/squeezeslave-0.8-20/$NAME
DAEMON_ARGS="-o 1 -m 00:00:00:00:00:02 -r -s 192.168.80.1"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
DAEMON_ARGS="-o 1 -m 00:00:00:00:00:02 -r -s 192.168.80.3"
Should I use the IP of the core or the MD? sudo default-rd.d /etc/init.d/squeezeslave default 50
root@moon68:~# sudo default-rd.d /etc/init.d/squeezeslave default 50
sudo: default-rd.d: command not found
root@moon68:~#
root 30459 0.0 0.0 3904 592 pts/12 R+ 14:36 0:00 grep squeezeslave
Quotethis HowTo is also working for MDs, just perform the steps on a MD and you're done.
Quoteand it didnt work.
At your core do the following;
chroot /usr/pluto/diskless/NN passwd (****where NN is the moon device ID of the MD you want to change***)
The use the following line to ssh into the MD... where NN is the device ID entered above;
ssh root@moonNN
Now you should be logged in as root ont eh MD and you can do whatever you need to :-)
linuxmce@dcerouter:/usr/local/bin$ sudo chroot /usr/pluto/diskless/68 passwd
[sudo] password for linuxmce:
chroot: cannot run command `passwd': Exec format error