File: postinst

package info (click to toggle)
scanlogd 2.2-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 116 kB
  • ctags: 97
  • sloc: ansic: 514; makefile: 82; sh: 39
file content (8 lines) | stat: -rw-r--r-- 162 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh

update-rc.d scanlogd defaults >/dev/null
# scanlogd needs a user
adduser --system --home /tmp scanlogd || true
/etc/init.d/scanlogd start

#DEBHELPER#