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

depend() {
	use net
}

start() {
	for user in ${IRSSI_USERS}; do 
		ebegin "Starting irssi session for ${user}"
		/bin/su - ${user} -c "screen -dmS irssi -- irssi"
		eend $? "Failed to start irssi for ${user}"
	done
}