Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init script location (raspian) - fix included #14

Open
kayleachampion opened this issue Dec 19, 2017 · 1 comment
Open

init script location (raspian) - fix included #14

kayleachampion opened this issue Dec 19, 2017 · 1 comment

Comments

@kayleachampion
Copy link

Hi all,

Running the install­piface­real­time­clock.sh script only assigns run level S to the piefacertc, which makes raspian with systemd sad, so init scripts were failing to run on boot.

A fix:

cd /etc/rc2.d
sudo ln -s ../init.d/pifacertc S01pifacertc
cd ../rc5.d
sudo ln -s ../init.d/pifacertc S01pifacertc

@vladak
Copy link

vladak commented Aug 20, 2019

I just bought Piface RTC and also discovered that the script [1] linked from the documentation http://www.piface.org.uk/assets/piface_clock/PiFaceClockguide.pdf does not deliver functional service - HW clock does not work after reboot.

Really, these days proper solution is to create a systemd service as described in detail in this thread: https://www.raspberrypi.org/forums/viewtopic.php?p=1234070

[1] https://raw.githubusercontent.com/piface/PiFace-Real-Time-Clock/master/install-piface-real-time-clock.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants