aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2000-07-31 03:12:38 +0000
committerFritz Elfert <felfert@to.com>2000-07-31 03:12:38 +0000
commit7fb94ed43a814788cda019c1e77314abc1626339 (patch)
tree50b86a44e2809e6fbcdcd080f2a2dc4dbc37042e /etc
parentfbb17061d3c622f0786a5d9ad41e8ccd95ef706c (diff)
downloadplptools-7fb94ed43a814788cda019c1e77314abc1626339.tar.gz
plptools-7fb94ed43a814788cda019c1e77314abc1626339.tar.bz2
plptools-7fb94ed43a814788cda019c1e77314abc1626339.zip
Applied mjg-0.6 patch.
Started adding kdoc compliant documentation comments. Added PsiTime
Diffstat (limited to 'etc')
-rwxr-xr-xetc/psion.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/psion.in b/etc/psion.in
index 558828f..8985d40 100755
--- a/etc/psion.in
+++ b/etc/psion.in
@@ -11,9 +11,17 @@
[ -f @prefix@/sbin/ncpd ] || exit 0
[ -f @prefix@/sbin/plpnfsd ] || exit 0
+MGETTY_HASPLP=false
+if grep -qs ^/PLP/ /etc/mgetty+sendfax/login.config ; then
+ MGETTY_HASPLP=true
+fi
+
# See how we were called.
case "$1" in
start)
+ if $MGETTY_HASPLP ; then
+ echo "NOT Starting ncpd because mgetty configured for PLP"
+ fi
echo -n "Starting Psion support: "
daemon @prefix@/sbin/ncpd
daemon @prefix@/sbin/plpnfsd