Date: Mon, 6 Nov 2023 13:45:33 -0600 From: D'Arcy Cain <darcy@druid.net> To: freebsd-questions@freebsd.org Subject: Trying to replace a bashism in bourne sh Message-ID: <8cdcb170-1c54-464b-aa89-c89ca98c86ca@druid.net>
next in thread | raw e-mail | index | archive | help
I need to do this; ifconfig_eth3="inet $((16#c0a8c0${me} + 100))/24" Problem is that I need to do this at boot time but then it runs as bourne sh. Does anyone have an equivalent for sh? Cheers. -- D'Arcy J.M. Cain <darcy@druid.net> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner. IM: darcy@Vex.Net, VoIP: sip:darcy@druid.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cdcb170-1c54-464b-aa89-c89ca98c86ca>