File: postinst

package info (click to toggle)
bottlerocket 0.05b3-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 288 kB
  • ctags: 66
  • sloc: ansic: 1,371; sh: 221; makefile: 112; tcl: 92
file content (17 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh -e

# Source debconf library
. /usr/share/debconf/confmodule

if [ "$1" = "configure" ]; then
  db_get bottlerocket/x10_port

  if [ "x$RET" = "x" ]; then
    device="ttyS0"
  fi
  device=${RET##/dev/}

  ln -sf $device /dev/firecracker
fi

#DEBHELPER#