mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-15 03:43:53 +02:00
8638a565cd
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 5ad56ca340
)
Signed-off-by: Ren Zongjia <acooler15@foxmail.com>
11 lines
201 B
Bash
11 lines
201 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
"partprobe")
|
|
test $(/sbin/partprobe --version | grep '^Copyright' | wc -l) -gt 0
|
|
;;
|
|
"parted")
|
|
test $(/sbin/parted --version | grep '^Copyright' | wc -l) -gt 0
|
|
;;
|
|
esac
|