![]() |
2006-07-22
, 15:56
|
|
Posts: 96 |
Thanked: 2 times |
Joined on May 2006
|
#41
|
![]() |
2006-07-23
, 01:28
|
|
Posts: 1,361 |
Thanked: 115 times |
Joined on Oct 2005
@ Toronto, Ontario, Canada
|
#42
|
![]() |
2006-07-24
, 15:36
|
Posts: 264 |
Thanked: 28 times |
Joined on May 2006
|
#43
|
#!/bin/sh umask 022 PATH=/sbin:/bin:/usr/sbin:/usr/bin insmod /mnt/initfs/lib/modules/2.6.16-omap1/ext2.ko insmod /lib/modules/cifs.ko mount -t proc proc /proc mount -t sysfs sysfs /sys mount -t usbfs usbfs /proc/bus/usb ... I cut out alot of stuff here... then at the bottom of the file ... #osso hotfix #24145 chmod a+w /sys/devices/platform/audio-i2c/mic_enable swapon -a mount /media/mmc2 exit 0
rootfs / rootfs defaults,errors=remount-ro,noatime 0 0 /dev/mmcblk0p1 /media/mmc1 vfat rw,noauto,nodev,noexec,nosuid,utf8,uid=29999 0 0 /dev/mmcblk0p2 /media/mmc2 ext2 rw,noauto 0 0 /dev/mmcblk0p3 swap swap defaults 0 0 //192.168.1.1/NAS /media/NAS cifs rw,user=joe,password=passw0rd 0 0
#!/bin/sh # mount cifs shared folder from the router # use gainroot to become root and relaunch itself if [ `id -u` != 0 ] ; then #if not already root, call itself as root sudo gainroot <<EOF $0 $* EOF exit fi mount /media/NAS
#!/bin/sh # un-mount cifs shared folder from the router # use gainroot to become root and relaunch itself if [ `id -u` != 0 ] ; then #if not already root, call itself as root sudo gainroot <<EOF $0 $* EOF exit fi umount /media/NAS
![]() |
2006-10-27
, 02:46
|
|
Posts: 305 |
Thanked: 154 times |
Joined on Aug 2006
@ Colorado
|
#44
|