File: postinst

package info (click to toggle)
toshutils 2.0.1%2Bdebian-24
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,060 kB
  • ctags: 867
  • sloc: ansic: 7,379; sh: 1,537; yacc: 414; makefile: 290; lex: 84
file content (14 lines) | stat: -rw-r--r-- 281 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

#DEBHELPER#


# script for setting up device node and module alias 
# (see src/Makefile.in (make install)
if [ "`ls -l /dev/toshiba 2>/dev/null | awk '{print $$6}'`" != "181" ] ; then
	if [ ! -c /dev/toshiba ] ; then
        	cd /dev; 
		MAKEDEV toshiba ;
	fi
fi