summaryrefslogtreecommitdiff
blob: 96742bf206616edf70fdf888d9f2aa9a8f203936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/runscript

depend() {
	use net
}

start() {
	local uni
	[ "${unicode:-${UNICODE}}" = YES ] && uni=U
	for user in ${IRSSI_USERS}; do 
		ebegin "Starting irssi session for ${user}"
		einfo /bin/su - ${user} -c "screen -${uni}dmS irssi -- irssi"
		eend $? "Failed to start irssi for ${user}"
	done
}