]> rtime.felk.cvut.cz Git - shark/motorek-5200.git/blob - test
Add load command to the boot script required for newer novaboot version.
[shark/motorek-5200.git] / test
1 #!/bin/sh
2
3 cp motorek.ko ../root-shark/home
4
5 #grep -q /home /proc/mounts || mount -t nfs -o nolock 147.32.86.187:/home/wsh/ppc/MPC5200/motorek /home;
6 ssh -t root@147.32.86.130 '
7 grep -q /lib/modules /proc/mounts || mount -t tmpfs none /lib/modules;
8 mkdir -p /lib/modules/`uname -r`;
9
10 rmmod motorek;
11 rm /lib/modules/`uname -r`/*;
12 cp /home/motorek.ko /lib/modules/`uname -r`;
13 depmod;
14 modprobe motorek;
15 MDEV=`ls -d /sys/devices/motorek.*|head`
16 echo "echo 50 > $MDEV/action"
17 echo 50 > $MDEV/action
18 /bin/sh -l
19 '