1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2025-09-05 09:35:56 +02:00
This commit is contained in:
Geoffrey Frogeye 2018-05-05 15:56:39 +02:00
parent 98c2f27358
commit 678b7e939b
13 changed files with 167 additions and 49 deletions

View file

@ -112,7 +112,6 @@ chef:
make -C buildroot chef-rebuild
upgrade-chef: chef
make -C buildroot chef-reinstall
ssh -F sshconf principal true
rsync --rsh 'ssh -F sshconf' --archive --chown root:root buildroot/output/target/opt/chef principal:/opt/

View file

@ -6,17 +6,16 @@
start() {
printf "Starting hardware handling: "
modprobe pl2303 # USB↔Serial cable
modprobe i2c-bcm2708 # I2C
modprobe i2c-dev # I2C
# I2C
modprobe i2c-bcm2708 # RPi2
modprobe i2c-bcm2835 # RPi3
modprobe i2c-dev # Both
/opt/chef/lcdOff.sh
echo "OK"
}
stop() {
printf "Stopping hardware handling: "
rmmod i2c-dev # I2C
rmmod i2c-bcm2708 # I2C
rmmod pl2303 # USB↔Serial cable
echo "OK"
}

View file

@ -70,7 +70,6 @@ BR2_PACKAGE_WPA_SUPPLICANT=y
# Pour upgrader à chaud
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_RSYNC=y
BR2_PACKAGE_PPPD=y
# Pour faire plaisir à Geoffrey
BR2_PACKAGE_HTOP=y