diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-02-02 23:02:17 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-02-02 23:02:17 +0000 |
commit | 4e50d9edadc613ccc45058cbc639b8781efca159 (patch) | |
tree | 937294a9c25f3d501488def424931f9b7d6f9e63 /ezjail.sh | |
parent | 1a43c488bc63ee815a24d85dd79fee6565996ed4 (diff) |
rc.d scripts must not issue line breaks
Diffstat (limited to 'ezjail.sh')
-rwxr-xr-x | ezjail.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,7 +27,7 @@ stop_cmd="do_stop" | |||
27 | 27 | ||
28 | do_start() | 28 | do_start() |
29 | { | 29 | { |
30 | [ -n "$*" ] && jail_list=`echo -n $* | tr -c [:alnum:] _` || echo " ezjail" | 30 | [ -n "$*" ] && jail_list=`echo -n $* | tr -c [:alnum:] _` || echo -n " ezjail" |
31 | jail_list=${jail_list:-`ls ${ezjail_prefix}/etc/ezjail/`} | 31 | jail_list=${jail_list:-`ls ${ezjail_prefix}/etc/ezjail/`} |
32 | for jail in $jail_list; do . ${ezjail_prefix}/etc/ezjail/${jail}; done | 32 | for jail in $jail_list; do . ${ezjail_prefix}/etc/ezjail/${jail}; done |
33 | sh /etc/rc.d/jail onestart $jail_list | 33 | sh /etc/rc.d/jail onestart $jail_list |
@@ -44,7 +44,7 @@ do_restart() | |||
44 | 44 | ||
45 | do_stop() | 45 | do_stop() |
46 | { | 46 | { |
47 | [ -n "$*" ] && jail_list=`echo -n $* | tr -c [:alnum:] _` || echo " ezjail" | 47 | [ -n "$*" ] && jail_list=`echo -n $* | tr -c [:alnum:] _` || echo -n " ezjail" |
48 | jail_list=${jail_list:-`ls ${ezjail_prefix}/etc/ezjail/`} | 48 | jail_list=${jail_list:-`ls ${ezjail_prefix}/etc/ezjail/`} |
49 | for jail in $jail_list; do . ${ezjail_prefix}/etc/ezjail/${jail}; done | 49 | for jail in $jail_list; do . ${ezjail_prefix}/etc/ezjail/${jail}; done |
50 | sh /etc/rc.d/jail onestop $jail_list | 50 | sh /etc/rc.d/jail onestop $jail_list |