CommentStreams:F253c5df81cc8c134e1acf9e97549ee6: Difference between revisions

Migrated reply #6479
 
No edit summary
 
Line 1: Line 1:
Formatting got messed up....the changes to xPWR.sh should be:
Formatting got messed up....the changes to xPWR.sh should be:
 
<pre>
     gpioset -c "$GPIOCHIP" "$BOOT"=1 &
     gpioset -c "$GPIOCHIP" "$BOOT"=1 &
     BOOT_PID=$!
     BOOT_PID=$!
     trap 'kill "$BOOT_PID" 2>/dev/null' EXIT
     trap 'kill "$BOOT_PID" 2>/dev/null' EXIT
     trap 'kill "$BOOT_PID" 2>/dev/null; exit 0' TERM INT
     trap 'kill "$BOOT_PID" 2>/dev/null; exit 0' TERM INT
 
</pre>
 
 
<!-- migrated from Comments; original IP: 135.180.174.172 -->