On 21/01/2016 12:53, Bastian Bittorf wrote: > * Petr Štetiar <yn...@true.cz> [21.01.2016 12:22]: >> boot() { >> + [ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -s -f $RTC_DEV && >> exit 0 > > thank you! can you please do in this line a: > && return > > and introduce a helper (maybe overengineered 8-) > > deps_ok() { > [ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] > } > > bye, bastian
hang on there, this looks like bastel basti scriptowahn _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel