Tiny Core Base > TCB Tips & Tricks

run mnttool when new drive add

(1/1)

mata:
Hello!

I have interested about next topic:
http://forum.tinycorelinux.net/index.php?topic=10602.msg56352#msg5635

And I make efforts for execute mnttool, automatically. After all, I append following line to /usr/sbin/rebuildfstab file:
test "$ACTION" = add  && su $(cat /etc/sysconfig/tcuser) -c 'DISPLAY=:0.0 /usr/bin/mnttool'

How about  this way.

Navigation

[0] Message Index

Go to full version