mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
12 lines
126 B
Bash
12 lines
126 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
case $(uname) in
|
||
|
NetBSD|OpenBSD|DragonFly|FreeBSD|Darwin)
|
||
|
date -r $1 $2
|
||
|
;;
|
||
|
*)
|
||
|
date -d @$1 $2
|
||
|
esac
|
||
|
|
||
|
exit $?
|