profile für SPH 4.0.5

      @bri50 orginal müsste sie so aussehen:

      Quellcode

      1. # /etc/profile: system-wide .profile file for the Bourne shells
      2. PATH=/bin:/sbin:/usr/bin:/usr/sbin
      3. export PATH
      4. LUA_PATH="/etc/lua/?.lua;/html/lib/?.lua"
      5. export LUA_PATH
      6. mount -t tmpfs none /dev
      7. mount -t proc /proc /proc
      8. mount -t tmpfs none /var
      9. mount -t tmpfs none /tmp
      10. mount -t tmpfs none /mnt
      11. mount -t usbfs none /proc/bus/usb
      12. makedevs -d /etc/devicetable /
      13. startbsp
      14. cp /etc/passwd1 /var/passwd
      15. cp /etc/group1 /var/group
      16. echo 32 > /proc/sys/kernel/msgmni
      17. echo "Loading drivers and kernel modules... "
      18. #add by c00164495 for HG622u multi acsurl 2011-01-30
      19. echo > /var/acsurl
      20. ifconfig lo 127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255 up
      21. #add for support chinese charset and ntfs fat ntfs filesystem
      22. #test -e /lib/kernel/fs/fat/fat.ko && insmod /lib/kernel/fs/fat/fat.ko
      23. #test -e /lib/kernel/fs/vfat/vfat.ko && insmod /lib/kernel/fs/vfat/vfat.ko
      24. #test -e /lib/kernel/fs/ntfs/ntfs.ko && insmod /lib/kernel/fs/ntfs/ntfs.ko
      25. #test -e /lib/kernel/fs/nls/nls_cp936.ko && insmod /lib/kernel/fs/nls/nls_cp936.ko
      26. test -e /lib/kernel/drivers/usb/serial/option.ko && insmod /lib/kernel/drivers/usb/serial/option.ko
      27. test -e /lib/kernel/fs/fuse/fuse.ko && insmod /lib/kernel/fs/fuse/fuse.ko
      28. test -e /lib/extra/pcmshim.ko && insmod /lib/extra/pcmshim.ko
      29. tftpd -s /etc/tftpd &
      30. mic
      31. echo "Done"


      Grüße

      danXde