Replace sudo
This commit is contained in:
parent
3bf3329eff
commit
cae00d781f
|
@ -719,7 +719,7 @@ function install_cjdns {
|
|||
echo ' /sbin/ip addr add $CJDNS_IP/8 dev cjdroute0' >> /etc/init.d/cjdns
|
||||
echo ' /sbin/ip link set mtu 1312 dev cjdroute0' >> /etc/init.d/cjdns
|
||||
echo ' /sbin/ip link set cjdroute0 up' >> /etc/init.d/cjdns
|
||||
echo ' sudo -u $CJDNS_USER $PROG_PATH/$PROG < $PROG_PATH/$CJDNS_CONFIG' >> /etc/init.d/cjdns
|
||||
echo ' su -c "$PROG_PATH/$PROG < $PROG_PATH/$CJDNS_CONFIG" - $CJDNS_USER' >> /etc/init.d/cjdns
|
||||
echo ' fi' >> /etc/init.d/cjdns
|
||||
echo '}' >> /etc/init.d/cjdns
|
||||
echo '' >> /etc/init.d/cjdns
|
||||
|
|
Loading…
Reference in New Issue