代码搜索:Load
找到约 10,000 项符合「Load」的源代码
代码结果 10,000
www.eeworm.com/read/342914/3228575
scull_load
#!/bin/sh
module="scull"
device="scull"
group="wheel"
mode="664"
# invoke insmod with all arguments we got
/sbin/insmod -f $module $* || exit 1
major=`cat /proc/devices | awk "\\$2==\"$module\" {pri
www.eeworm.com/read/342914/3228598
snull_load
#!/bin/sh
/sbin/insmod ./snull.o $*
ifconfig sn0 local0
ifconfig sn1 local1
route add -net snullnet0 sn0
route add -net snullnet1 sn1
www.eeworm.com/read/342914/3228607
sbull_load
#!/bin/sh
module="sbull"
device="sbull"
group="wheel"
mode="664"
# invoke insmod with all arguments we got
/sbin/insmod -f $module $* || exit 1
major=`cat /proc/devices | awk "\\$2==\"$module\" {pri
www.eeworm.com/read/342914/3228619
scull_load
#!/bin/sh
module="scull"
device="scull"
group="wheel"
mode="664"
# invoke insmod with all arguments we got
/sbin/insmod -f $module $* || exit 1
major=`cat /proc/devices | awk "\\$2==\"$module\" {pri
www.eeworm.com/read/342914/3228627
short_load
#!/bin/sh
module="short"
device="short"
group="wheel"
mode="664"
# invoke insmod with all arguments we got
/sbin/insmod -f $module $* || exit 1
major=`cat /proc/devices | awk "\\$2==\"$module\" {pri
www.eeworm.com/read/342914/3228653
spull_load
#!/bin/sh
module="spull"
device="pd"
group="wheel"
mode="664"
# invoke insmod with all arguments we got
/sbin/insmod -f $module $* || exit 1
major=`cat /proc/devices | awk "\\$2==\"$module\" {print
www.eeworm.com/read/342914/3228661
short_load
#!/bin/sh
module="short"
device="short"
group="wheel"
mode="664"
# invoke insmod with all arguments we got
/sbin/insmod -f $module $* || exit 1
major=`cat /proc/devices | awk "\\$2==\"$module\" {pri
www.eeworm.com/read/342914/3228689
scullp_load
#!/bin/sh
module="scullp"
device="scullp"
group="wheel"
mode="664"
# remove stale nodes
rm -f /dev/${device}?
# invoke insmod with all arguments we got
/sbin/insmod -f $module $* || exit 1
major=`
www.eeworm.com/read/342914/3228716
snull_load
#!/bin/sh
export PATH=/sbin:/bin
# Use a pathname, as new modutils don't look in the current dir by default
insmod ./snull.o $*
ifconfig sn0 local0
ifconfig sn1 local1
# The route commands are need
www.eeworm.com/read/342914/3228721
simple_load
#!/bin/sh
module="simple"
device="simple"
mode="664"
# Group: since distributions do it differently, look for wheel or use staff
if grep '^staff:' /etc/group > /dev/null; then
group="staff"
else