Differences between version 14 and previous revision of CyberLeo/Projects/CTAWallboard.
Other diffs: Previous Major Revision, Previous Author
Newer page: | version 14 | Last edited on Sunday, 18 March 2012 2:20:39 | by CyberLeo | Revert |
Older page: | version 13 | Last edited on Sunday, 18 March 2012 2:18:05 | by CyberLeo | Revert |
@@ -123,24 +123,33 @@
</code>
/boot/loader.conf:
<code brush="bash">
+# Load modules
nvidia_load="YES"
sem_load="YES"
splash_pcx_load="YES"
vesa_load="YES"
+# Bitmap
bitmap_load="YES"
bitmap_name="/boot/splash.pcx"
</code>
/etc/rc.conf:
<code brush="bash">
hostname="netbox.den.cyberleo.net"
+
+# Network setup
ifconfig_alc0="DHCP"
ifconfig_alc0_ipv6="inet6 accept_rtadv"
-sshd_enable
="YES
"
+
+# Console
+blanktime
="10
"
+
+# Daemons
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
-blanktime
="10
"
+sshd_enable
="YES
"
+
</code>
version 14
/etc/make.conf:
# Compilation tunes CPUTYPE?=nocona # Multiprocess port builds (make -j8) FORCE_MAKE_JOBS=yes MAKE_JOBS_NUMBER=2 # Global knobs NO_PROFILE=yes # Kernel build configuration KERNCONF=GENERIC # Caching proxy for fetches http_proxy=http://gateway.cyberleo.net:46565 ftp_proxy=http://gateway.cyberleo.net:46565 # Read-only ports tree DISTDIR=/var/ports/distfiles PACKAGES=/var/ports/packages WRKDIRPREFIX=/usr/obj .if ${.CURDIR:M*/devel/glib20} USE_LOCAL_MK= STRIP_PERL5_RUN= STRIP_PYTHON_RUN= .endif .if ${.CURDIR:M*/devel/gobject-introspection} USE_LOCAL_MK= STRIP_PYTHON_RUN= .endif
FreeBSD ports:
B:: archivers/unzip devel/autoconf213 devel/bison devel/gmake devel/gperf devel/imake devel/libcheck devel/libtool devel/xorg-macros devel/yasm textproc/intltool textproc/libxslt x11-fonts/bdftopcf x11-fonts/xf86bigfontproto x11/bigreqsproto x11/evieext x11/glproto x11/luit x11/resourceproto x11/scrnsaverproto x11/trapproto x11/xcb-proto x11/xcmiscproto x11/xf86dgaproto x11/xf86driproto x11/xkbcomp x11/nvidia-settings x11/nvidia-xconfig x11/xbindkeys x11/xhost x11/xrandr x11/xsetroot x11/xtrans R:: # Base devel/git misc-cdn/bash-config misc-cdn/flag net/rsync ports-mgmt/portmaster security/sudo # X misc/unclutter net/x11vnc x11-drivers/xf86-input-keyboard x11-drivers/xf86-input-mouse x11/nvidia-driver x11/xinit x11/xrdb x11/xset x11/xterm # DE x11-wm/icewm www/libxul
/usr/local/etc/wallboard.sh
#!/bin/sh -e export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin tty="${1}" if [ -e "/etc/nox" ] then sleep 5 exit fi logger -t wallboard "Spawning wallboard${tty:+ on ${tty}}" su -l wallboard -c '. ~/.bash_profile; exec startx' 2>&1 | logger -t wallboard
/etc/ttys:
ttyv8 "/usr/local/etc/wallboard.sh" xterm on secure
/boot/loader.conf:
# Load modules nvidia_load="YES" sem_load="YES" splash_pcx_load="YES" vesa_load="YES" # Bitmap bitmap_load="YES" bitmap_name="/boot/splash.pcx"
/etc/rc.conf:
hostname="netbox.den.cyberleo.net" # Network setup ifconfig_alc0="DHCP" ifconfig_alc0_ipv6="inet6 accept_rtadv" # Console blanktime="10" # Daemons moused_enable="YES" ntpd_enable="YES" powerd_enable="YES" sshd_enable="YES"