Edit

IABSD.fr/src/etc/rc.d/rarpd

Branch :

  • Show log

    Commit

  • Author : rpe
    Date : 2018-01-11 21:09:26
    Hash : 99342bd4
    Message : - change [] tests to [[]] - change -a, -o to &&, || inside [[]] - remove unecessary quoting inside [[]] - remove X"" constructs inside [[]] - remove \ (line continuation) in case of &&, || and pipes - replace backticks with $() discussed with and OK aja@ OK tb

  • etc/rc.d/rarpd
  • #!/bin/ksh
    #
    # $OpenBSD: rarpd,v 1.5 2018/01/11 21:09:26 rpe Exp $
    
    daemon="/usr/sbin/rarpd"
    daemon_flags="-a"
    
    . /etc/rc.d/rc.subr
    
    rc_reload=NO
    
    rc_pre() {
    	[[ -s /etc/ethers ]]
    }
    
    rc_cmd $1