• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pilight v8.0 - Current work in progress
#17
Code:
root@led-04-wifi:/tmp# test -f test && rm test;
root@led-04-wifi:/tmp# echo $?
1
root@led-04-wifi:/tmp# touch test
root@led-04-wifi:/tmp# test -f test && rm test;
root@led-04-wifi:/tmp# echo $?
0
root@led-04-wifi:/tmp#
I simple tried the above and if files supposed to remove in postrm script does not exists, we will echo return code 1.

Further checking I can see that file "/etc/init.d/pilight.sh" does not exists.
So I think it's 2 problems, first that one of the files does not exists, but also the postrm should able to handle this and not exit with 1.

I hope this helps you identifying the problem.

BR
Florian
 
Reply
  


Messages In This Thread
pilight and iphone - by gwaag - 02-18-2018, 08:16 PM
RE: pilight v8.0 - Current work in progress - by albundy118 - 12-13-2017, 03:41 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight for Raspbian Buster (raspberry pi 4) ? starob 30 7,120 49 minutes ago
Last Post: simanuel
  pilight switch node in node-red framp 0 228 06-24-2020, 10:01 PM
Last Post: framp
  pilight-control TML 13 890 05-27-2020, 07:51 AM
Last Post: curlymo
  API Requests by HTTP from other devices fore use in pilight scootermacro 2 397 05-10-2020, 08:19 AM
Last Post: scootermacro
  pilight-send seems successful but doesn't actually send RF signal ayeyebrazov 37 3,072 03-31-2020, 01:02 PM
Last Post: curlymo
  pilight 8.1.5 not working on Raspberry pi after reboot beejayf 4 838 03-08-2020, 12:14 AM
Last Post: beejayf
  pilight cpu usage possibly associated with noticeable sluggishness? hepcat72 4 892 01-28-2020, 08:02 PM
Last Post: hepcat72
  apt.pilight.org stable Release' is not signed. thomasol 2 939 01-23-2020, 11:34 PM
Last Post: thomasol
  pilight and SIGNALduino cc1101 Caleus 0 685 01-19-2020, 09:13 AM
Last Post: Caleus
  filter stopped working after update to pilight 8.1.5 zlin50 19 2,005 01-03-2020, 02:15 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)