Replace sudo

This commit is contained in:
Bob Mottram 2015-01-11 15:17:52 +00:00
parent 3bf3329eff
commit cae00d781f
1 changed files with 1 additions and 1 deletions

View File

@ -719,7 +719,7 @@ function install_cjdns {
echo ' /sbin/ip addr add $CJDNS_IP/8 dev cjdroute0' >> /etc/init.d/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 mtu 1312 dev cjdroute0' >> /etc/init.d/cjdns
echo ' /sbin/ip link set cjdroute0 up' >> /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 ' fi' >> /etc/init.d/cjdns
echo '}' >> /etc/init.d/cjdns echo '}' >> /etc/init.d/cjdns
echo '' >> /etc/init.d/cjdns echo '' >> /etc/init.d/cjdns