Package: sysvinit
Version: 2.88dsf-22

$ grep -nA13 ^INITCTL= /var/lib/dpkg/info/sysvinit.postinst
19:INITCTL=/run/initctl
20-case "$(uname -s)" in
21-  *FreeBSD)
22-     OLDINITCTL=/etc/.initctl
23-     ;;
24-  *)
25-     OLDINITCTL=/dev/initctl
26-     ;;
27-esac
28-
29-# Create /run/initctl if not present, and also create compatibility
30-# symlinks
31-if [ "$INITCTL" ] && [ ! -p "$INITCTL" ]
32-then
$

  In line #19, INITCTL was set to /run/initctl.  What is the reson to
test for [ "$INITCTL" ] in line #31?  I mean, isn't

    if [ ! -p "$INITCTL" ]

somewhat better?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1329004010.2318.yahoomailclas...@web120704.mail.ne1.yahoo.com

Reply via email to