Thanks Tomas, it was as easy as
pkg_postinst_${PN} () {
#!/bin/sh -e
net-snmp-config --create-snmpv3-user -a "my_password" myuser
}
2013/6/26 Tomas Frydrych
> On 26/06/13 15:32, Katu Txakur wrote:
> > I want to create a user after adding the snmp recipe. The command to do
> > that i
On Thu, Jun 27, 2013 at 8:38 AM, Gaurang Shastri wrote:
> Hi,
>
> You need to do something like below:
>
> pkg_postinst() {
>
> net-snmp-config --create-snmpv3-user -a "my_password" myuser
> }
>
> try with above and it should work :)
>
note it should be
pkg_postinst_PACKAGENAME(), so in most cas
Hi,
You need to do something like below:
pkg_postinst() {
net-snmp-config --create-snmpv3-user -a "my_password" myuser
}
try with above and it should work :)
//Gaurang Shastri
On Wed, Jun 26, 2013 at 9:07 PM, Tomas Frydrych wrote:
> On 26/06/13 15:32, Katu Txakur wrote:
> > I want to crea
On 26/06/13 15:32, Katu Txakur wrote:
> I want to create a user after adding the snmp recipe. The command to do
> that is:
>
> net-snmp-config --create-snmpv3-user -a "my_password" myuser
>
> What's the best way to do it? I have tried from do_install_append and
> also from ROOTFS_POSTPROCESS_COMM
Hi,
I want to create a user after adding the snmp recipe. The command to do
that is:
net-snmp-config --create-snmpv3-user -a "my_password" myuser
What's the best way to do it? I have tried from do_install_append and also
from ROOTFS_POSTPROCESS_COMMAND but no luck so far.
Thanks
___