Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
s390-tools
vmlogrdr.hotplug
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vmlogrdr.hotplug of Package s390-tools
#!/bin/bash # # vmlogrdr hotplug policy agent for Linux 2.4 kernels # # Kernel vmlogrdr hotplug params include: # # ACTION= %s [add or remove] # MAJOR= %d [dynamic major number] # MINOR= %d [dynamic minor number] # SERVICE= %s [currently: LOGREC only] # # cd /etc/hotplug . hotplug.functions DEVDIR="/dev" NAME="$DEVDIR/vmlogrdr_$SERVICE" case "$ACTION" in add) mesg "Creating devicenode $NAME" rm -f "$NAME" || exit 1 mknod -m 440 "$NAME" c $MAJOR $MINOR || exit 1 ;; remove) mesg "Removing devicenode $NAME" rm -f "$NAME" || exit 1 ;; *) mesg "$(basename $0): $ACTION event not supported" exit 1 ;; esac exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor