File: brltty.postinst

package info (click to toggle)
brltty 6.9-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 44,828 kB
  • sloc: ansic: 154,246; java: 13,514; sh: 9,934; xml: 5,672; tcl: 2,679; makefile: 2,346; awk: 713; lisp: 366; python: 321; ml: 301
file content (24 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/sh

set -e

case "${1:-}" in
  configure|reconfigure)

    if [ ! -e /etc/brlapi.key ]; then
        mcookie >/etc/brlapi.key
        chmod 0640 /etc/brlapi.key
    fi

    [ -r /etc/default/brltty ] && . /etc/default/brltty

    ! [ "$START_IN_INITRAMFS" = "true" -o "$START_IN_INITRAMFS" = "yes" ] || \
	! command -v update-initramfs >/dev/null 2>&1 || update-initramfs -u

    #update-rc.d brltty start 10 23 . > /dev/null

    ;;
esac

#DEBHELPER#