asb / raspi-config

Configuration tool for the Raspberry Pi. Now maintained at https://github.com/RPi-Distro/raspi-config
Other
263 stars 328 forks source link

Init script contains errant backslash #54

Closed nemequ closed 9 years ago

nemequ commented 9 years ago

You shouldn't be escaping the # when writing the init script. The backslash gets written to the script, so you end up with

modprobe i2c-dev
\# Calibrate the clock (default: 0x47). See datasheet for MCP7940N
i2cset -y $i 0x6f 0x08 0x47
modprobe i2c:mcp7941x
echo mcp7941x 0x6f > /sys/class/i2c-dev/i2c-$i/device/new_device
hwclock -s
nemequ commented 9 years ago

Crap, wrong project (!), sorry.