sync(system): update front board system configuration.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
: <<'COMMENTBLOCK'
|
||||
# remove
|
||||
if [ "${ACTION}" == "remove" ]; then
|
||||
MOUNTPOINT="$(grep -w "^/dev/${MDEV}" /proc/mounts | awk '{print $2}')"
|
||||
@@ -37,4 +38,5 @@ if [ "${ACTION}" == "add" ]; then
|
||||
[ ! -b "/dev/${MDEV}" -a -f "/sys/block/${MDEV%p*}/${MDEV}/uevent" ] \
|
||||
&& echo add > /sys/block/${MDEV%p*}/${MDEV}/uevent
|
||||
fi
|
||||
COMMENTBLOCK
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user