blob: 857d29d12753e3f3be23e07f31aac208127867d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/sbin/runscript
depend() {
use net
}
start() {
local uni
local value = "${unicode:-${UNICODE}}"
[ "${value}" = YES || "${value}" = yes ] && uni=U
for user in ${IRSSI_USERS}; do
ebegin "Starting irssi session for ${user}"
/bin/su - ${user} -c "screen -${uni}dmS irssi -- irssi"
eend $? "Failed to start irssi for ${user}"
done
}
|