aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/mdev_fat.conf5
-rwxr-xr-xexamples/var_service/ifplugd_if/run20
2 files changed, 14 insertions, 11 deletions
diff --git a/examples/mdev_fat.conf b/examples/mdev_fat.conf
index f15a1705f..9ac333608 100644
--- a/examples/mdev_fat.conf
+++ b/examples/mdev_fat.conf
@@ -16,9 +16,9 @@
16null root:root 666 @chmod 666 $MDEV 16null root:root 666 @chmod 666 $MDEV
17zero root:root 666 17zero root:root 666
18full root:root 666 18full root:root 666
19random root:root 666 19random root:root 444
20urandom root:root 444 20urandom root:root 444
21hwrandom root:root 660 21hwrandom root:root 444
22grsec root:root 660 22grsec root:root 660
23 23
24kmem root:root 640 24kmem root:root 640
@@ -73,6 +73,7 @@ ttyLTM[0-9] root:dialout 660 @ln -sf $MDEV modem
73ttySHSF[0-9] root:dialout 660 @ln -sf $MDEV modem 73ttySHSF[0-9] root:dialout 660 @ln -sf $MDEV modem
74slamr root:dialout 660 @ln -sf $MDEV slamr0 74slamr root:dialout 660 @ln -sf $MDEV slamr0
75slusb root:dialout 660 @ln -sf $MDEV slusb0 75slusb root:dialout 660 @ln -sf $MDEV slusb0
76
76fuse root:root 666 77fuse root:root 666
77 78
78# dri device 79# dri device
diff --git a/examples/var_service/ifplugd_if/run b/examples/var_service/ifplugd_if/run
index 44ddbc48d..360b75a3f 100755
--- a/examples/var_service/ifplugd_if/run
+++ b/examples/var_service/ifplugd_if/run
@@ -7,26 +7,28 @@ pwd="$PWD"
7 7
8if="${PWD##*/ifplugd_}" 8if="${PWD##*/ifplugd_}"
9 9
10echo "* Starting ifplugd [$$]" 10echo "* Starting ifplugd on $if [$$]"
11exec \ 11exec \
12env - PATH="$PATH" \ 12env - PATH="$PATH" \
13softlimit \ 13softlimit \
14setuidgid root \ 14setuidgid root \
15ifplugd -apq -n -s -i "$if" -r "$pwd/ifplugd_handler" 15ifplugd -apqns -t3 -u9 -d9 -i "$if" -r "$pwd/ifplugd_handler"
16 16
17# we use -t3 to wake ifplugd up less often
18
19#-a Do not up interface automatically
20#-p Dont run script on daemon startup
21#-q Dont run script on daemon quit
17#-n Do not daemonize 22#-n Do not daemonize
18#-s Do not log to syslog 23#-s Do not log to syslog
24#-t SECS Poll time in seconds
25#-u SECS Delay before running script after link up
26#-d SECS Delay after link down
19#-i IFACE Interface 27#-i IFACE Interface
28#-r PROG Script to run
20#-f/-F Treat link detection error as link down/link up (otherwise exit on error) 29#-f/-F Treat link detection error as link down/link up (otherwise exit on error)
21#-a Do not up interface automatically
22#-M Monitor creation/destruction of interface (otherwise it must exist) 30#-M Monitor creation/destruction of interface (otherwise it must exist)
23#-r PROG Script to run
24#-x ARG Extra argument for script 31#-x ARG Extra argument for script
25#-I Dont exit on nonzero exit code from script 32#-I Dont exit on nonzero exit code from script
26#-p Dont run script on daemon startup
27#-q Dont run script on daemon quit
28#-l Run script on startup even if no cable is detected 33#-l Run script on startup even if no cable is detected
29#-t SECS Poll time in seconds
30#-u SECS Delay before running script after link up
31#-d SECS Delay after link down
32#-m MODE API mode (mii, priv, ethtool, wlan, auto) 34#-m MODE API mode (mii, priv, ethtool, wlan, auto)