database config from enviroment variables, ident
[safeq] / debian-install.sh
1 #!/bin/sh
2
3 test `id -u` -ne 0 && exec sudo $0
4
5 apt-get install curl libdata-dump-perl cups printer-driver-fujixerox cups-ipp-utils printer-driver-cups-pdf snmp snmp-mibs-downloader
6 # ntp samba smbclient
7
8 # enable mibs
9 grep -i '^mibs :' /etc/snmp/snmp.conf && perl -p -i -n -e 's/^mibs :.*/mibs +ALL/' /etc/snmp/snmp.conf