diff options
author | schweikh <schweikh@FreeBSD.org> | 2001-05-14 20:51:10 +0000 |
---|---|---|
committer | schweikh <schweikh@FreeBSD.org> | 2001-05-14 20:51:10 +0000 |
commit | 3305b34ee6da8025bda558289f6f32e31ea30afb (patch) | |
tree | a83afd9d0fedee6f0a338fd468ce7dbdb5d7f9c9 /etc/rc.d | |
parent | 6391dd7249da95ab134648ebdec61c47a0e01552 (diff) | |
download | FreeBSD-src-3305b34ee6da8025bda558289f6f32e31ea30afb.zip FreeBSD-src-3305b34ee6da8025bda558289f6f32e31ea30afb.tar.gz |
New option isdn_screenflags to set the syscons screen params for isdnd,
plus documentation.
Submitted by: Alexander Leidinger <Alexander@Leidinger.net>
Not objected to by: hm
MFC after: 1 week
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/isdnd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/rc.d/isdnd b/etc/rc.d/isdnd index a81205a..293ba56 100644 --- a/etc/rc.d/isdnd +++ b/etc/rc.d/isdnd @@ -53,6 +53,18 @@ case ${isdn_enable} in /usr/sbin/isdnd ${isdn_flags} ;; *) + # Change vidmode of ${isdn_fsdev} + # + case ${isdn_screenflags} in + [Nn][Oo]) + ;; + *) + if [ -x /usr/sbin/vidcontrol ]; then + /usr/sbin/vidcontrol < ${isdn_fsdev} > ${isdn_fsdev} 2>&1 ${isdn_screenflags} + fi + ;; + esac + /usr/sbin/isdnd ${isdn_flags} -f -r ${isdn_fsdev} -t ${isdn_ttype} ;; esac |