File: postinst

package info (click to toggle)
queue 1.30.1-4woody2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,388 kB
  • ctags: 1,630
  • sloc: ansic: 10,499; cpp: 2,771; sh: 2,640; lex: 104; makefile: 87
file content (9 lines) | stat: -rw-r--r-- 215 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh -e
# Add this host to the access control list.
if [ ! -e /etc/queue/qhostsfile ]; then
	hostname > /etc/queue/qhostsfile
	# Just in case, queued is picky..
	chmod 644 /etc/queue/qhostsfile
fi

#DEBHELPER#