Hacked By AnonymousFox

Current Path : /usr/share/cagefs-skeleton/lib/kernel/install.d/
Upload File :
Current File : //usr/share/cagefs-skeleton/lib/kernel/install.d/50-depmod.install

#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

[[ $2 ]] || exit 1

case "$1" in
    add)
        exec depmod -a "$2"
        ;;
    remove)
        exec rm -f /lib/modules/"$2"/modules.{alias{,.bin},builtin.bin,dep{,.bin},devname,softdep,symbols{,.bin}}
        ;;
    *)
        exit 0
esac

Hacked By AnonymousFox1.0, Coded By AnonymousFox