1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh /etc/rc.common START=20 start () { if ! [ -f /etc/nodeid ]; then cat </proc/sys/kernel/random/boot_id > /etc/nodeid fi } stop () { }