Giter Club home page Giter Club logo

Comments (3)

richardghirst avatar richardghirst commented on September 28, 2024

Sounds like you need to edit /etc/init.d/servoblaster and change the
parameters that specifies when it starts served on system boot.
On 5 Nov 2014 06:22, "kassalkane" [email protected] wrote:

i had to run kill on servod which caused my custom config changes to
reset. I then reran the command

Sudo servod -- p1pins=12

Which then works until I reboot and the servoblaster goes back to running
on all the default settings.

Any idea why?


Reply to this email directly or view it on GitHub
#40.

from pibits.

kassalkane avatar kassalkane commented on September 28, 2024

Could you give me some guidance on what to modify?

#!/bin/sh

BEGIN INIT INFO

Provides: servoblaster

Required-Start: hostname $local_fs

Required-Stop:

Should-Start:

Default-Start: 2 3 4 5

Default-Stop: 0 1 6

Short-Description: Start/stop servod.

Description: This script starts/stops servod.

END INIT INFO

PATH=/sbin:/usr/sbin:/bin:/usr/bin
. /lib/init/vars.sh

OPTS="--idle-timeout=2000"

res=0

case "$1" in
start)
/usr/local/sbin/servod $OPTS >/dev/null
;;
restart|reload|force-reload)
killall servod
/usr/local/sbin/servod $OPTS >/dev/null
;;
stop)
killall servod
;;
status)
[ -e /dev/servoblaster ] || res=4
;;
*)
echo "Usage: servoblaster [start|stop|status]" >&2
res=3
;;
esac

exit $res

from pibits.

kassalkane avatar kassalkane commented on September 28, 2024

I have tried uninstalling and re-installed and same issue. This seems like a fairly major flaw?

from pibits.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.