marc
07-23-2006, 10:19 AM
This is a very simple script I wrote to mount my partitions at startup / set my TV tuner settings, but it can be used just as a mount script [when you remove TV section and rename it to i.e "mount"]. All you have to do is to create file "local" in /etc/rc.d/ dir and "chmod +x" to make it executable.
echo
echo Mounting devices ...
echo
mount /dev/ad0s1
mount /dev/ad0s2
mount /dev/ad0s3
mount /dev/ad1s2
mount /dev/ad1s3
echo
echo Done
echo
echo Setting BT878 tuner type ...
sysctl hw.bt848.tuner=5
echo
echo Done
echo
Hope It`ll be useful for someone. I know this could be done better way by using other available script/tools, but it works for me and that`s all I need ;)
echo
echo Mounting devices ...
echo
mount /dev/ad0s1
mount /dev/ad0s2
mount /dev/ad0s3
mount /dev/ad1s2
mount /dev/ad1s3
echo
echo Done
echo
echo Setting BT878 tuner type ...
sysctl hw.bt848.tuner=5
echo
echo Done
echo
Hope It`ll be useful for someone. I know this could be done better way by using other available script/tools, but it works for me and that`s all I need ;)