Followup to last commit, cleanup some SMP/UP conditionals.
[dragonfly.git] / etc / rc.d / varsym
blob0048519a1478740b97836543b37462d028ae44da
1 #!/bin/sh
3 # $DragonFly: src/etc/rc.d/varsym,v 1.2 2005/11/19 21:47:32 swildner Exp $
6 # PROVIDE: varsym
7 # REQUIRE: mountcritremote
9 . /etc/rc.subr
11 name=varsym
12 rcvar='varsym_enable'
13 required_files="/etc/varsym.conf"
14 start_cmd="varsym_start"
15 stop_cmd=":"
17 varsym_start()
19 if [ -f /etc/varsym.conf ]; then
20 while read sym
22 case ${sym} in
23 \#*|' ')
26 varsym -s ${sym}
27 esac
28 done < /etc/varsym.conf
33 load_rc_config $name
34 run_rc_command "$1"