diff options
author | Roy Marples <roy@marples.name> | 2007-11-23 12:15:57 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-23 12:15:57 +0000 |
commit | cd0cd1167e7d59218f5bfe3088c3c63e0ce4abf5 (patch) | |
tree | 502c2369ecdf7ee33900189b319fa2ce0d2aecca /init.d.BSD/rc-enabled | |
parent | bbd25ccc00808dbadcc2dde57d3292b1be1be6bb (diff) |
Use yesno
Diffstat (limited to 'init.d.BSD/rc-enabled')
-rw-r--r-- | init.d.BSD/rc-enabled | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/init.d.BSD/rc-enabled b/init.d.BSD/rc-enabled index a43680cc..466146cb 100644 --- a/init.d.BSD/rc-enabled +++ b/init.d.BSD/rc-enabled @@ -47,10 +47,7 @@ start() { # Ensure that the users rc.conf will start us - ignore the defaults eval enabled=\$$(basename "${svc}")_enable - case "$enabled" in - [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) ;; - *) continue ;; - esac + yesno ${enabled} || continue # Good to go! "$svc" start && started="${started} ${svc}" |