File: postinst

package info (click to toggle)
longrun 0.9-22.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 152 kB
  • sloc: ansic: 466; sh: 104; makefile: 61
file content (12 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

if [ "$1" = configure ]; then
	if [ ! -e /dev/cpu/0/msr ] || [ ! -e /dev/cpu/0/cpuid ] ; then
		if [ -x /dev/MAKEDEV ]; then
			cd /dev && ./MAKEDEV cpu
		fi
	fi
fi
	
#DEBHELPER#