Hallo,
ok:
fli4l 3.0.1 # ls -la /lib
dr-xr-xr-x 4 root root 840 Mar 24 07:40 .
dr-xr-xr-x 17 root root 360 Mar 24 07:40 ..
drwxr-xr-x 2 root root 400 Mar 24 07:39 iptables
-rwxr-xr-x 1 root root 99756 Apr 29 2005 ld-2.2.5.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 ld-linux.so.2 -> /lib/ld-2.2.5.so
-rwxr-xr-x 1 root root 17209 Feb 23 22:28 ld-uClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 ld-uClibc.so.0 -> ld-uClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libc.so -> libuClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libc.so.0 -> libuClibc-0.9.28.so
-rwxr-xr-x 1 root root 1394238 Apr 29 2005 libc.so.6
-rwxr-xr-x 1 root root 9005 Feb 23 22:28 libcrypt-0.9.28.so
lrwxrwxrwx 1 root root 18 Mar 24 07:39 libcrypt.so -> libcrypt-0.9.28.so
lrwxrwxrwx 1 root root 18 Mar 24 07:39 libcrypt.so.0 -> libcrypt-0.9.28.so
-rwxr-xr-x 1 root root 9209 Feb 23 22:28 libdl-0.9.28.so
lrwxrwxrwx 1 root root 15 Mar 24 07:39 libdl.so -> libdl-0.9.28.so
lrwxrwxrwx 1 root root 15 Mar 24 07:39 libdl.so.0 -> libdl-0.9.28.so
-rwxr-xr-x 1 root root 14605 Apr 29 2005 libdl.so.2
-rwxr-xr-x 1 root root 28108 Feb 23 22:28 libgcc_s.so.1
-rwxr-xr-x 1 root root 54193 Feb 23 22:28 libm-0.9.28.so
lrwxrwxrwx 1 root root 14 Mar 24 07:39 libm.so -> libm-0.9.28.so
lrwxrwxrwx 1 root root 14 Mar 24 07:39 libm.so.0 -> libm-0.9.28.so
-rwxr-xr-x 1 root root 188574 Apr 29 2005 libm.so.6
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libncurses.so.5 -> libncurses.so.5.2
-rwxr-xr-x 1 root root 333142 Apr 29 2005 libncurses.so.5.2
-rwxr-xr-x 1 root root 4665 Feb 23 22:28 libnsl-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 libnsl.so -> libnsl-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 libnsl.so.0 -> libnsl-0.9.28.so
-rwxr-xr-x 1 root root 16184 Nov 23 2004 libnss_dns.so.2
-rwxr-xr-x 1 root root 71234 Feb 23 22:28 libpthread-0.9.28.so
lrwxrwxrwx 1 root root 30 Mar 24 07:40 libpthread.so.0 -> /opt/files/lib/libpthread.so.0
-rwxr-xr-x 1 root root 4665 Feb 23 22:28 libresolv-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libresolv.so -> libresolv-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libresolv.so.0 -> libresolv-0.9.28.so
-rwxr-xr-x 1 root root 66112 Apr 29 2005 libresolv.so.2
-rwxr-xr-x 1 root root 70754 Feb 23 22:28 librpc-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 librpc.so -> librpc-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 librpc.so.0 -> librpc-0.9.28.so
-rwxr-xr-x 1 root root 202801 Feb 23 22:28 libuClibc-0.9.28.so
-rwxr-xr-x 1 root root 4849 Feb 23 22:28 libutil-0.9.28.so
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libutil.so -> libutil-0.9.28.so
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libutil.so.0 -> libutil-0.9.28.so
drwxr-xr-x 3 root root 60 Mar 23 21:20 modules
fli4l 3.0.1 # ls -la /opt/files/lib
dr-xr-xr-x 4 root root 840 Mar 24 07:40 .
dr-xr-xr-x 17 root root 360 Mar 24 07:40 ..
drwxr-xr-x 2 root root 400 Mar 24 07:39 iptables
-rwxr-xr-x 1 root root 99756 Apr 29 2005 ld-2.2.5.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 ld-linux.so.2 -> /lib/ld-2.2.5.so
-rwxr-xr-x 1 root root 17209 Feb 23 22:28 ld-uClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 ld-uClibc.so.0 -> ld-uClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libc.so -> libuClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libc.so.0 -> libuClibc-0.9.28.so
-rwxr-xr-x 1 root root 1394238 Apr 29 2005 libc.so.6
-rwxr-xr-x 1 root root 9005 Feb 23 22:28 libcrypt-0.9.28.so
lrwxrwxrwx 1 root root 18 Mar 24 07:39 libcrypt.so -> libcrypt-0.9.28.so
lrwxrwxrwx 1 root root 18 Mar 24 07:39 libcrypt.so.0 -> libcrypt-0.9.28.so
-rwxr-xr-x 1 root root 9209 Feb 23 22:28 libdl-0.9.28.so
lrwxrwxrwx 1 root root 15 Mar 24 07:39 libdl.so -> libdl-0.9.28.so
lrwxrwxrwx 1 root root 15 Mar 24 07:39 libdl.so.0 -> libdl-0.9.28.so
-rwxr-xr-x 1 root root 14605 Apr 29 2005 libdl.so.2
-rwxr-xr-x 1 root root 28108 Feb 23 22:28 libgcc_s.so.1
-rwxr-xr-x 1 root root 54193 Feb 23 22:28 libm-0.9.28.so
lrwxrwxrwx 1 root root 14 Mar 24 07:39 libm.so -> libm-0.9.28.so
lrwxrwxrwx 1 root root 14 Mar 24 07:39 libm.so.0 -> libm-0.9.28.so
-rwxr-xr-x 1 root root 188574 Apr 29 2005 libm.so.6
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libncurses.so.5 -> libncurses.so.5.2
-rwxr-xr-x 1 root root 333142 Apr 29 2005 libncurses.so.5.2
-rwxr-xr-x 1 root root 4665 Feb 23 22:28 libnsl-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 libnsl.so -> libnsl-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 libnsl.so.0 -> libnsl-0.9.28.so
-rwxr-xr-x 1 root root 16184 Nov 23 2004 libnss_dns.so.2
-rwxr-xr-x 1 root root 71234 Feb 23 22:28 libpthread-0.9.28.so
lrwxrwxrwx 1 root root 30 Mar 24 07:40 libpthread.so.0 -> /opt/files/lib/libpthread.so.0
-rwxr-xr-x 1 root root 4665 Feb 23 22:28 libresolv-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libresolv.so -> libresolv-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libresolv.so.0 -> libresolv-0.9.28.so
-rwxr-xr-x 1 root root 66112 Apr 29 2005 libresolv.so.2
-rwxr-xr-x 1 root root 70754 Feb 23 22:28 librpc-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 librpc.so -> librpc-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 librpc.so.0 -> librpc-0.9.28.so
-rwxr-xr-x 1 root root 202801 Feb 23 22:28 libuClibc-0.9.28.so
-rwxr-xr-x 1 root root 4849 Feb 23 22:28 libutil-0.9.28.so
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libutil.so -> libutil-0.9.28.so
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libutil.so.0 -> libutil-0.9.28.so
drwxr-xr-x 3 root root 60 Mar 23 21:20 modules
So müsste das doch passen:
fli4l 3.0.1 # cat /etc/prep/rc400.asterisk
/bin/tar -xjf /opt/files/asterisk-files.tar.bz2
/bin/rm /opt/files/asterisk-files.tar.bz2
/bin/ln -s /usr/lib/libgcc_s.so.1 /usr/lib/libgcc_s.so
/bin/ln -s /usr/lib/libpri.so.1.0 /usr/lib/libpri.so.1
/bin/ln -s /usr/lib/libtonezone.so.1.0 /usr/lib/libtonezone.so.1
/bin/ln -s /usr/lib/libcapi20.so.2.0.7 /usr/lib/libcapi20.so.2
/bin/ln -s /lib/ld-2.2.5.so /lib/ld-linux.so.2
/bin/ln -s /lib/libncurses.so.5.2 /lib/libncurses.so.5
/bin/ln -s /data/asterisk/voicemail/default /var/lib/asterisk/sounds/vm
/bin/ln -s /data/asterisk/voicemail /var/lib/asterisk/sounds/voicemail
/bin/ln -s /data/asterisk/astdb /var/lib/asterisk/astdb
fli4l 3.0.1 #
fli4l 3.0.1 #
fli4l 3.0.1 #
fli4l 3.0.1 # cat /etc/rc.d/rc999.asterisk
if [ "$OPT_ASTERISK" = yes ]
then
begin_script ASTERISK "Starting Asterisk ..."
mount -o remount,rw /dev/hda1 /boot
/bin/rm /lib/libpthread.so.0
/bin/ln -s /opt/files/lib/libpthread.so.0 /lib/libpthread.so.0
/bin/ln -s /usr/lib/libgcc_s.so.1 /usr/lib/libgcc_s.so
/bin/ln -s /usr/lib/libpri.so.1.0 /usr/lib/libpri.so.1
/bin/ln -s /usr/lib/libtonezone.so.1.0 /usr/lib/libtonezone.so.1
/bin/ln -s /usr/lib/libcapi20.so.2.0.7 /usr/lib/libcapi20.so.2
/bin/ln -s /lib/ld-2.2.5.so /lib/ld-linux.so.2
/bin/ln -s /lib/libncurses.so.5.2 /lib/libncurses.so.5
mount -o remount,ro /dev/hda1 /boot
if [ "$ASTERISK_GENERATE_EXTENSIONS" = yes ]
then
MFG SkiRitchy
ok:
fli4l 3.0.1 # ls -la /lib
dr-xr-xr-x 4 root root 840 Mar 24 07:40 .
dr-xr-xr-x 17 root root 360 Mar 24 07:40 ..
drwxr-xr-x 2 root root 400 Mar 24 07:39 iptables
-rwxr-xr-x 1 root root 99756 Apr 29 2005 ld-2.2.5.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 ld-linux.so.2 -> /lib/ld-2.2.5.so
-rwxr-xr-x 1 root root 17209 Feb 23 22:28 ld-uClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 ld-uClibc.so.0 -> ld-uClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libc.so -> libuClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libc.so.0 -> libuClibc-0.9.28.so
-rwxr-xr-x 1 root root 1394238 Apr 29 2005 libc.so.6
-rwxr-xr-x 1 root root 9005 Feb 23 22:28 libcrypt-0.9.28.so
lrwxrwxrwx 1 root root 18 Mar 24 07:39 libcrypt.so -> libcrypt-0.9.28.so
lrwxrwxrwx 1 root root 18 Mar 24 07:39 libcrypt.so.0 -> libcrypt-0.9.28.so
-rwxr-xr-x 1 root root 9209 Feb 23 22:28 libdl-0.9.28.so
lrwxrwxrwx 1 root root 15 Mar 24 07:39 libdl.so -> libdl-0.9.28.so
lrwxrwxrwx 1 root root 15 Mar 24 07:39 libdl.so.0 -> libdl-0.9.28.so
-rwxr-xr-x 1 root root 14605 Apr 29 2005 libdl.so.2
-rwxr-xr-x 1 root root 28108 Feb 23 22:28 libgcc_s.so.1
-rwxr-xr-x 1 root root 54193 Feb 23 22:28 libm-0.9.28.so
lrwxrwxrwx 1 root root 14 Mar 24 07:39 libm.so -> libm-0.9.28.so
lrwxrwxrwx 1 root root 14 Mar 24 07:39 libm.so.0 -> libm-0.9.28.so
-rwxr-xr-x 1 root root 188574 Apr 29 2005 libm.so.6
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libncurses.so.5 -> libncurses.so.5.2
-rwxr-xr-x 1 root root 333142 Apr 29 2005 libncurses.so.5.2
-rwxr-xr-x 1 root root 4665 Feb 23 22:28 libnsl-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 libnsl.so -> libnsl-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 libnsl.so.0 -> libnsl-0.9.28.so
-rwxr-xr-x 1 root root 16184 Nov 23 2004 libnss_dns.so.2
-rwxr-xr-x 1 root root 71234 Feb 23 22:28 libpthread-0.9.28.so
lrwxrwxrwx 1 root root 30 Mar 24 07:40 libpthread.so.0 -> /opt/files/lib/libpthread.so.0
-rwxr-xr-x 1 root root 4665 Feb 23 22:28 libresolv-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libresolv.so -> libresolv-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libresolv.so.0 -> libresolv-0.9.28.so
-rwxr-xr-x 1 root root 66112 Apr 29 2005 libresolv.so.2
-rwxr-xr-x 1 root root 70754 Feb 23 22:28 librpc-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 librpc.so -> librpc-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 librpc.so.0 -> librpc-0.9.28.so
-rwxr-xr-x 1 root root 202801 Feb 23 22:28 libuClibc-0.9.28.so
-rwxr-xr-x 1 root root 4849 Feb 23 22:28 libutil-0.9.28.so
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libutil.so -> libutil-0.9.28.so
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libutil.so.0 -> libutil-0.9.28.so
drwxr-xr-x 3 root root 60 Mar 23 21:20 modules
fli4l 3.0.1 # ls -la /opt/files/lib
dr-xr-xr-x 4 root root 840 Mar 24 07:40 .
dr-xr-xr-x 17 root root 360 Mar 24 07:40 ..
drwxr-xr-x 2 root root 400 Mar 24 07:39 iptables
-rwxr-xr-x 1 root root 99756 Apr 29 2005 ld-2.2.5.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 ld-linux.so.2 -> /lib/ld-2.2.5.so
-rwxr-xr-x 1 root root 17209 Feb 23 22:28 ld-uClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 ld-uClibc.so.0 -> ld-uClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libc.so -> libuClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libc.so.0 -> libuClibc-0.9.28.so
-rwxr-xr-x 1 root root 1394238 Apr 29 2005 libc.so.6
-rwxr-xr-x 1 root root 9005 Feb 23 22:28 libcrypt-0.9.28.so
lrwxrwxrwx 1 root root 18 Mar 24 07:39 libcrypt.so -> libcrypt-0.9.28.so
lrwxrwxrwx 1 root root 18 Mar 24 07:39 libcrypt.so.0 -> libcrypt-0.9.28.so
-rwxr-xr-x 1 root root 9209 Feb 23 22:28 libdl-0.9.28.so
lrwxrwxrwx 1 root root 15 Mar 24 07:39 libdl.so -> libdl-0.9.28.so
lrwxrwxrwx 1 root root 15 Mar 24 07:39 libdl.so.0 -> libdl-0.9.28.so
-rwxr-xr-x 1 root root 14605 Apr 29 2005 libdl.so.2
-rwxr-xr-x 1 root root 28108 Feb 23 22:28 libgcc_s.so.1
-rwxr-xr-x 1 root root 54193 Feb 23 22:28 libm-0.9.28.so
lrwxrwxrwx 1 root root 14 Mar 24 07:39 libm.so -> libm-0.9.28.so
lrwxrwxrwx 1 root root 14 Mar 24 07:39 libm.so.0 -> libm-0.9.28.so
-rwxr-xr-x 1 root root 188574 Apr 29 2005 libm.so.6
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libncurses.so.5 -> libncurses.so.5.2
-rwxr-xr-x 1 root root 333142 Apr 29 2005 libncurses.so.5.2
-rwxr-xr-x 1 root root 4665 Feb 23 22:28 libnsl-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 libnsl.so -> libnsl-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 libnsl.so.0 -> libnsl-0.9.28.so
-rwxr-xr-x 1 root root 16184 Nov 23 2004 libnss_dns.so.2
-rwxr-xr-x 1 root root 71234 Feb 23 22:28 libpthread-0.9.28.so
lrwxrwxrwx 1 root root 30 Mar 24 07:40 libpthread.so.0 -> /opt/files/lib/libpthread.so.0
-rwxr-xr-x 1 root root 4665 Feb 23 22:28 libresolv-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libresolv.so -> libresolv-0.9.28.so
lrwxrwxrwx 1 root root 19 Mar 24 07:39 libresolv.so.0 -> libresolv-0.9.28.so
-rwxr-xr-x 1 root root 66112 Apr 29 2005 libresolv.so.2
-rwxr-xr-x 1 root root 70754 Feb 23 22:28 librpc-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 librpc.so -> librpc-0.9.28.so
lrwxrwxrwx 1 root root 16 Mar 24 07:39 librpc.so.0 -> librpc-0.9.28.so
-rwxr-xr-x 1 root root 202801 Feb 23 22:28 libuClibc-0.9.28.so
-rwxr-xr-x 1 root root 4849 Feb 23 22:28 libutil-0.9.28.so
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libutil.so -> libutil-0.9.28.so
lrwxrwxrwx 1 root root 17 Mar 24 07:39 libutil.so.0 -> libutil-0.9.28.so
drwxr-xr-x 3 root root 60 Mar 23 21:20 modules
So müsste das doch passen:
fli4l 3.0.1 # cat /etc/prep/rc400.asterisk
/bin/tar -xjf /opt/files/asterisk-files.tar.bz2
/bin/rm /opt/files/asterisk-files.tar.bz2
/bin/ln -s /usr/lib/libgcc_s.so.1 /usr/lib/libgcc_s.so
/bin/ln -s /usr/lib/libpri.so.1.0 /usr/lib/libpri.so.1
/bin/ln -s /usr/lib/libtonezone.so.1.0 /usr/lib/libtonezone.so.1
/bin/ln -s /usr/lib/libcapi20.so.2.0.7 /usr/lib/libcapi20.so.2
/bin/ln -s /lib/ld-2.2.5.so /lib/ld-linux.so.2
/bin/ln -s /lib/libncurses.so.5.2 /lib/libncurses.so.5
/bin/ln -s /data/asterisk/voicemail/default /var/lib/asterisk/sounds/vm
/bin/ln -s /data/asterisk/voicemail /var/lib/asterisk/sounds/voicemail
/bin/ln -s /data/asterisk/astdb /var/lib/asterisk/astdb
fli4l 3.0.1 #
fli4l 3.0.1 #
fli4l 3.0.1 #
fli4l 3.0.1 # cat /etc/rc.d/rc999.asterisk
if [ "$OPT_ASTERISK" = yes ]
then
begin_script ASTERISK "Starting Asterisk ..."
mount -o remount,rw /dev/hda1 /boot
/bin/rm /lib/libpthread.so.0
/bin/ln -s /opt/files/lib/libpthread.so.0 /lib/libpthread.so.0
/bin/ln -s /usr/lib/libgcc_s.so.1 /usr/lib/libgcc_s.so
/bin/ln -s /usr/lib/libpri.so.1.0 /usr/lib/libpri.so.1
/bin/ln -s /usr/lib/libtonezone.so.1.0 /usr/lib/libtonezone.so.1
/bin/ln -s /usr/lib/libcapi20.so.2.0.7 /usr/lib/libcapi20.so.2
/bin/ln -s /lib/ld-2.2.5.so /lib/ld-linux.so.2
/bin/ln -s /lib/libncurses.so.5.2 /lib/libncurses.so.5
mount -o remount,ro /dev/hda1 /boot
if [ "$ASTERISK_GENERATE_EXTENSIONS" = yes ]
then
MFG SkiRitchy