Below command use for update printk.time=1 in /etc/grup.conf file.
/sbin/grubby --update-kernel=/boot/vmlinuz-`uname -r` --args="printk.time=1"
if i simple past this command in console or taking ssh, it's working fine.
but when i push via script it's not work
ssh $i /sbin/grubby --update-kernel=/boot/vmlinuz-`uname -r` --args="printk.time=1"
any idea what stopping ??
I have try with other command that is worked fine via script.