Commit 38b789fd authored by chenhaowen's avatar chenhaowen

fix up postins script

parent 0a0b49ff
......@@ -32,6 +32,7 @@ endef
define Package/gdut-drcom/postinst
#!/bin/sh
echo "post install: patching ppp.sh"
sed -i '/#added by gdut-drcom/d' /lib/netifd/proto/ppp.sh
sed -i '/proto_run_command/i username=$$(echo -e "\\r\\n$$username") #added by gdut-drcom!' /lib/netifd/proto/ppp.sh
echo "patched!"
endef
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment