Changeset 10409 in hybrid for branches/releng-9.0/nanobsd/files/tools/wl-config
- Timestamp:
- Apr 9, 2012, 10:49:47 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-9.0/nanobsd/files/tools/wl-config
r10185 r10409 32 32 # Determine it's statup and running location and some other hints 33 33 # Skip named.conf as it not planned in current release 34 FILES="authorized_keys d nsmasq.conf rc.conf.local resolv.conf wleiden.yaml"34 FILES="authorized_keys dhcpd.conf dnsmasq.conf rc.conf.local resolv.conf wleiden.yaml" 35 35 file_details() { 36 36 case "$1" in … … 40 40 FILE_HINT="" 41 41 ;; 42 'dhcpd.conf') 43 STARTUP_LOC="/cfg/local/${FILE}" 44 RUNNING_LOC="/etc/local/${FILE}" 45 FILE_HINT="service isc-dhcpd restart" 46 ;; 42 47 'dnsmasq.conf') 43 48 STARTUP_LOC="/cfg/local/${FILE}" 44 49 RUNNING_LOC="/etc/local/${FILE}" 45 FILE_HINT=" /usr/local/etc/rc.d/dnsmasq restart"50 FILE_HINT="service dnsmasq restart" 46 51 ;; 47 52 'named.conf') 48 53 STARTUP_LOC="/cfg/namedb/${FILE}" 49 54 RUNNING_LOC="/etc/namedb/${FILE}" 50 FILE_HINT=" /etc/rc.d/named restart"55 FILE_HINT="service named restart" 51 56 ;; 52 57 'rc.conf.local') 53 58 STARTUP_LOC="/cfg/${FILE}" 54 59 RUNNING_LOC="/etc/${FILE}" 55 FILE_HINT=" /etc/rc.d/netif restart"60 FILE_HINT="service netif restart" 56 61 ;; 57 62 'resolv.conf') … … 193 198 SOURCE=$1 194 199 TARGET=$2 195 diff -I '^# Generated at ' ${ SOURCE} ${TARGET} 2>/dev/null200 diff -I '^# Generated at ' ${TARGET} ${SOURCE} 2>/dev/null 196 201 if [ $? -ne 0 ]; then 197 202 mkdir -p `dirname ${TARGET}` || exit 1
Note:
See TracChangeset
for help on using the changeset viewer.