diff options
Diffstat (limited to 'net-irc/irssi-init/files/0.2')
-rwxr-xr-x | net-irc/irssi-init/files/0.2/init.d | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-irc/irssi-init/files/0.2/init.d b/net-irc/irssi-init/files/0.2/init.d index 96742bf..857d29d 100755 --- a/net-irc/irssi-init/files/0.2/init.d +++ b/net-irc/irssi-init/files/0.2/init.d @@ -6,10 +6,11 @@ depend() { start() { local uni - [ "${unicode:-${UNICODE}}" = YES ] && uni=U + local value = "${unicode:-${UNICODE}}" + [ "${value}" = YES || "${value}" = 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" + /bin/su - ${user} -c "screen -${uni}dmS irssi -- irssi" eend $? "Failed to start irssi for ${user}" done } |