Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
var
/
www
/
html
/
bkd
/
berkas
/
ALFA_DATA
/
alfasymlink
/
root
/
lib
/
udev
/
/var/www/html/bkd/berkas/ALFA_DATA/alfasymlink/root/lib/udev/hdparm
#!/bin/sh set -e [ -n "$DEVNAME" ] || exit 1 . /lib/hdparm/hdparm-functions if [ -e /proc/cmdline ]; then #linux only - future proofing against BSD and Hurd :) if grep -wq nohdparm /proc/cmdline ; then exit 0 fi fi raidstat=OK if [ -e /proc/mdstat ]; then if egrep -iq "resync|repair|recover|check" /proc/mdstat; then raidstat=RESYNC fi elif [ -e /proc/rd/status ]; then raidstat=`cat /proc/rd/status` fi if ! [ "$raidstat" = 'OK' ]; then exit 1 fi OPTIONS=$(hdparm_options $DEVNAME) if [ -n "$OPTIONS" ]; then /sbin/hdparm $OPTIONS $DEVNAME 2>/dev/null fi exit 0